Interface for telemetry trace context.

Use the core getTraceCtx method instead to get / set the current trace context, this is required to support distributed tracing and allows the core to manage the trace context.

interface ITelemetryTrace {
    name?: string;
    parentID?: string;
    traceFlags?: number;
    traceID?: string;
}

Properties

name?: string

Name

parentID?: string

Parent id

traceFlags?: number

An integer representation of the W3C TraceContext trace-flags. https://www.w3.org/TR/trace-context/#trace-flags

traceID?: string

Trace id