Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TraceContextKey ¶
type TraceContextKey string
TraceContextKey Define Dedicated Types for Context Keys to Avoid Conflicts with Third-Party Packages
const ( // TraceIDKey Used to access the raw Trace ID from the context. TraceIDKey TraceContextKey = "trace_id" SpanIDKey TraceContextKey = "span_id" ParentSpanIDKey TraceContextKey = "parent_span_id" // TraceparentHeader is a W3C standard HTTP header name. TraceparentHeader = "traceparent" )
Click to show internal directories.
Click to hide internal directories.