Skip to content

Connectum API Reference / @connectum/otel / OtelClientInterceptorOptions

Interface: OtelClientInterceptorOptions ​

Defined in: types.ts:82

Options for createOtelClientInterceptor() (client-side)

Extends ​

Properties ​

attributeFilter? ​

optional attributeFilter?: OtelAttributeFilter

Defined in: types.ts:47

Filter callback to exclude specific attributes

Inherited from ​

OtelBaseOptions.attributeFilter


filter? ​

optional filter?: OtelFilter

Defined in: types.ts:44

Filter callback to skip specific requests

Inherited from ​

OtelBaseOptions.filter


recordMessages? ​

optional recordMessages?: boolean

Defined in: types.ts:54

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

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


serverPort? ​

optional serverPort?: number

Defined in: types.ts:93

Target server port. Used as server.port attribute.


withoutMetrics? ​

optional withoutMetrics?: boolean

Defined in: types.ts:41

Disable metric recording (tracing only)

Inherited from ​

OtelBaseOptions.withoutMetrics


withoutTracing? ​

optional withoutTracing?: boolean

Defined in: types.ts:38

Disable span creation (metrics only)

Inherited from ​

OtelBaseOptions.withoutTracing