Function parseTraceParent

  • Attempt to parse the provided string as a W3C TraceParent header value (https://www.w3.org/TR/trace-context/#traceparent-header)

    Parameters

    • value: string

      The value to be parsed

    • Optional selectIdx: number

      If the found value is comma separated which is the preferred entry to select, defaults to the first

    Returns ITraceParent

Generated using TypeDoc