JudgmentBaggageSpanProcessor
Span processor that copies baggage entries onto span attributes at span start. Use `keyPredicate` to control which keys are propagated.
Span processor that copies baggage entries onto span attributes at
span start. Use keyPredicate to control which keys are propagated.
const processor = new JudgmentBaggageSpanProcessor(
(key) => key.startsWith("judgment."),
);onStart()
Copy matching baggage entries from the parent context onto the span.
function onStart(span: Span, parentContext: Context): voidParameters
span
required:Span
parentContext
required:Context
Returns
void
onEnd()
No-op.
function onEnd(_span: ReadableSpan): voidParameters
_span
required:ReadableSpan
Returns
void
forceFlush()
No-op.
async function forceFlush(): Promise<void>Returns
Promise<void>
shutdown()
No-op.
async function shutdown(): Promise<void>Returns
Promise<void>