Connectum API Reference / @connectum/otel / TracedOptions
Interface: TracedOptions ​
Defined in: types.ts:111
Options for traced() function wrapper
Properties ​
argsFilter? ​
optionalargsFilter?:ArgsFilter
Defined in: types.ts:129
Additional transform/masking for recorded args. Called after whitelist filtering.
attributes? ​
optionalattributes?:Record<string,string|number|boolean>
Defined in: types.ts:134
Custom attributes to add to every span
name? ​
optionalname?:string
Defined in: types.ts:115
Span name. Defaults to fn.name or "anonymous"
recordArgs? ​
optionalrecordArgs?:boolean|string[]
Defined in: types.ts:123
Record function arguments as span attributes.
false(default): no args recordedtrue: all args recordedstring[]: whitelist of zero-based argument indices encoded as strings