Interface IDistributedTraceContext

Hierarchy

  • IDistributedTraceContext

Methods

  • Returns the current name of the page

    Returns string

  • Self-generated 8-bytes identifier of the incoming request. Must be a hex representation of 8-byte array. Also know as the parentId, used to link requests together

    Returns string

  • An integer representation of the W3C TraceContext trace-flags.

    Returns number

  • Returns the unique identifier for a trace. All requests / spans from the same trace share the same traceId. Must be read from incoming headers or generated according to the W3C TraceContext specification, in a hex representation of 16-byte array. A.k.a. trace-id, TraceID or Distributed TraceID

    Returns string

  • Sets the current name of the page

    Parameters

    • pageName: string

    Returns void

  • Self-generated 8-bytes identifier of the incoming request. Must be a hex representation of 8-byte array. Also know as the parentId, used to link requests together https://www.w3.org/TR/trace-context/#parent-id

    Parameters

    • newValue: string

    Returns void

  • Set the unique identifier for a trace. All requests / spans from the same trace share the same traceId. Must be conform to the W3C TraceContext specification, in a hex representation of 16-byte array. A.k.a. trace-id, TraceID or Distributed TraceID https://www.w3.org/TR/trace-context/#trace-id

    Parameters

    • newValue: string

    Returns void

Generated using TypeDoc