public

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 0 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL