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