Beignet API reference
    Preparing search index...

    Interface ActiveRequestContext

    Ambient correlation values for the request currently being handled.

    The server enters this context before user hooks run so instrumentation sinks can correlate events recorded anywhere in the request lifecycle. Identity values (actor, tenant) are refreshed by the server whenever hooks finalize a new context, so wrappers such as createAmbientAuditLog observe the elevated identity at record time.

    interface ActiveRequestContext {
        actor?: ActivityActor;
        parentSpanId?: string;
        requestId?: string;
        spanId?: string;
        tenant?: ActivityTenant;
        traceId?: string;
        traceparent?: string;
        tracestate?: string;
    }
    Index

    Actor for the current request or service execution, when known.

    parentSpanId?: string
    requestId?: string
    spanId?: string

    Tenant scope for the current request or service execution, when known.

    traceId?: string
    traceparent?: string
    tracestate?: string