Connectum API Reference / @connectum/otel / OtelInterceptorOptions
Interface: OtelInterceptorOptions ​
Defined in: types.ts:60
Options for createOtelInterceptor() (server-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? ​
optionalserverAddress?:string
Defined in: types.ts:71
Override server.address attribute (defaults to os.hostname())
serverPort? ​
optionalserverPort?:number
Defined in: types.ts:76
Opt-in server.port attribute
trustRemote? ​
optionaltrustRemote?:boolean
Defined in: types.ts:66
Use extracted remote context as parent span. When false, creates a new root span and adds a link to the remote span.
Default ​
falsewithoutMetrics? ​
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)