Skip to main content

JetstreamResponseContext

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / JetstreamResponseContext

JetstreamResponseContext

Defined in: src/otel/config.ts:90

Context passed to OtelOptions.responseHook once an outcome is known, just before the span ends.

Properties​

durationMs​

readonly durationMs: number

Defined in: src/otel/config.ts:95

Wall-clock duration of the operation in milliseconds.


error?​

readonly optional error?: Error

Defined in: src/otel/config.ts:101

Error instance if the operation failed.


reply?​

readonly optional reply?: unknown

Defined in: src/otel/config.ts:98

Decoded reply payload for RPC client spans when available.


subject​

readonly subject: string

Defined in: src/otel/config.ts:92

Subject the operation targeted.