GitHubnpm
  • Preparing search index...
  • The search index is not available
@microsoft/applicationinsights-core-js - v3.3.11
  • @microsoft/applicationinsights-core-js
  • createOTelTraceState

Function createOTelTraceState

  • createOTelTraceState(value?): IOTelTraceState
  • Returns an OpenTelemetry compatible instance of the trace state, an important distinction between an IW3cTraceState and an IOTelTraceState is that the OpenTelemetry version is immutable, meaning that any changes made to the trace state will create and return a new instance for the IOTelTraceState.set and IOTelTraceState.unset methods.

    Parameters

    • Optionalvalue: string | IOTelTraceState | IW3cTraceState

      The current trace state value

    Returns IOTelTraceState

    An OpenTelemetry compatible instance of the trace state

    Remarks

    The OpenTelemetry TraceState is an immutable object, meaning that any changes made to the trace state will

    Since

    3.4.0

    • Defined in otel/api/trace/traceState.ts:86

Settings

Member Visibility
ChangelogReadmeGitHubnpm
@microsoft/applicationinsights-core-js - v3.3.11
  • Loading...

Generated using TypeDoc