traceparent (and an optional tracestate) into a remote span context, or
undefined when it is malformed. A tracestate longer than 512 chars is dropped.
Parameters
Returns
SpanContextRef | undefinedDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Function exported by @botmesh/core/spi.
function parseTraceparent(traceparent, tracestate?): SpanContextRef | undefined;
traceparent (and an optional tracestate) into a remote span context, or
undefined when it is malformed. A tracestate longer than 512 chars is dropped.
| Parameter | Type |
|---|---|
traceparent | string |
tracestate? | string |
SpanContextRef | undefined