Module id
Expand description
Unique identifiers for traces and spans.
This module provides the core identifier types used throughout the telemetry system to uniquely identify traces and spans in distributed tracing scenarios.
§Core Types
TraceId
: A 128-bit globally unique identifier that groups related spans togetherSpanId
: A 64-bit identifier that uniquely identifies a span within a traceSpanContext
: A combination of trace ID and span ID that uniquely identifies a span
Structs§
- Span
Context - A struct representing the context of a span, including its
TraceId
andSpanId
. - SpanId
- An identifier for a span within a trace.
- TraceId
- An identifier for a trace, which groups a set of related spans together.