Connectum API Reference / @connectum/otel / OtelClientInterceptorOptions
Interface: OtelClientInterceptorOptions ​
Defined in: types.ts:75
Options for createOtelClientInterceptor() (client-side)
Extends ​
Properties ​
attributeFilter? ​
optionalattributeFilter?:OtelAttributeFilter
Defined in: types.ts:40
Filter callback to exclude specific attributes
Inherited from ​
OtelBaseOptions.attributeFilter
filter? ​
optionalfilter?:OtelFilter
Defined in: types.ts:37
Filter callback to skip specific requests
Inherited from ​
recordMessages? ​
optionalrecordMessages?: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 ​
falseInherited from ​
OtelBaseOptions.recordMessages
serverAddress ​
serverAddress:
string
Defined in: types.ts:80
Target server address (required for client spans). Used as server.address attribute.
serverPort? ​
optionalserverPort?:number
Defined in: types.ts:86
Target server port. Used as server.port attribute.
withoutMetrics? ​
optionalwithoutMetrics?:boolean
Defined in: types.ts:34
Disable metric recording (tracing only)
Inherited from ​
OtelBaseOptions.withoutMetrics
withoutTracing? ​
optionalwithoutTracing?:boolean
Defined in: types.ts:31
Disable span creation (metrics only)