Skip to main content

JetstreamResponseContext

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

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:96

Wall-clock duration of the operation in milliseconds.


error?

readonly optional error?: Error

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

Error instance if the operation failed.


reply?

readonly optional reply?: unknown

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

Decoded reply payload for RPC client spans when available.


subject

readonly subject: string

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

Subject the operation targeted.