Skip to content

Connectum API Reference / @connectum/otel / OtelClientInterceptorOptions

Interface: OtelClientInterceptorOptions ​

Defined in: types.ts:75

Options for createOtelClientInterceptor() (client-side)

Extends ​

Properties ​

attributeFilter? ​

optional attributeFilter?: OtelAttributeFilter

Defined in: types.ts:40

Filter callback to exclude specific attributes

Inherited from ​

OtelBaseOptions.attributeFilter


filter? ​

optional filter?: OtelFilter

Defined in: types.ts:37

Filter callback to skip specific requests

Inherited from ​

OtelBaseOptions.filter


recordMessages? ​

optional recordMessages?: boolean

Defined in: types.ts:47

Record request/response message events with direction, sequence number, and estimated size. Message payloads are not included in these events.

Default ​

ts
false

Inherited from ​

OtelBaseOptions.recordMessages


serverAddress ​

serverAddress: string

Defined in: types.ts:80

Target server address (required for client spans). Used as server.address attribute.


serverPort? ​

optional serverPort?: number

Defined in: types.ts:86

Target server port. Used as server.port attribute.


withoutMetrics? ​

optional withoutMetrics?: boolean

Defined in: types.ts:34

Disable metric recording (tracing only)

Inherited from ​

OtelBaseOptions.withoutMetrics


withoutTracing? ​

optional withoutTracing?: boolean

Defined in: types.ts:31

Disable span creation (metrics only)

Inherited from ​

OtelBaseOptions.withoutTracing