Interface: TracingManagerOptions
Defined in: tracing/types.ts:157
Options for creating a TracingManager
Properties
autoGenerateTraceId?
optional autoGenerateTraceId?: boolean;
Defined in: tracing/types.ts:167
Whether to auto-generate trace IDs
defaultAttributes?
optional defaultAttributes?: SpanAttributes;
Defined in: tracing/types.ts:163
Default attributes added to all spans
maxSpansPerTrace?
optional maxSpansPerTrace?: number;
Defined in: tracing/types.ts:165
Maximum spans per trace (prevents memory issues)
onEvent?
optional onEvent?: TracingEventHandler;
Defined in: tracing/types.ts:169
Event handler for tracing events
otelExporter?
optional otelExporter?: OTelExporter;
Defined in: tracing/types.ts:171
Optional OpenTelemetry exporter
serviceName?
optional serviceName?: string;
Defined in: tracing/types.ts:159
Service name for traces
serviceVersion?
optional serviceVersion?: string;
Defined in: tracing/types.ts:161
Service version