Setu-TS
    Preparing search index...

    Interface TelemetryContext

    Opaque handle representing the parent context for span creation.

    In the real (OTel-backed) implementation this wraps the OTel Context. In noop mode it is unused but still accepted for API parity.

    Carries the W3C Trace Context fields extracted from incoming traceparent / tracestate headers so the real TracerHost can use them to parent spans.

    0.2.0

    interface TelemetryContext {
        _opaque: typeof TELEMETRY_CONTEXT_OPAQUE;
        spanId?: string;
        traceFlags?: string;
        traceId?: string;
        tracestate?: string;
    }
    Index
    _opaque: typeof TELEMETRY_CONTEXT_OPAQUE

    Internal marker — consumers must not inspect this type.

    spanId?: string

    16-character lowercase hex parent span ID (W3C format).

    traceFlags?: string

    2-character lowercase hex trace flags (W3C format).

    traceId?: string

    32-character lowercase hex trace ID (W3C format).

    tracestate?: string

    Raw tracestate header value, if present.