Skip to content

Connectum API Reference / @connectum/otel / OtelBaseOptions

Interface: OtelBaseOptions ​

Defined in: types.ts:29

Common options shared between server and client OTel interceptors

Extended by ​

Properties ​

attributeFilter? ​

optional attributeFilter?: OtelAttributeFilter

Defined in: types.ts:40

Filter callback to exclude specific attributes


filter? ​

optional filter?: OtelFilter

Defined in: types.ts:37

Filter callback to skip specific requests


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

withoutMetrics? ​

optional withoutMetrics?: boolean

Defined in: types.ts:34

Disable metric recording (tracing only)


withoutTracing? ​

optional withoutTracing?: boolean

Defined in: types.ts:31

Disable span creation (metrics only)