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