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 together
  • SpanId: A 64-bit identifier that uniquely identifies a span within a trace
  • SpanContext: A combination of trace ID and span ID that uniquely identifies a span

Structs§

SpanContext
A struct representing the context of a span, including its TraceId and SpanId.
SpanId
An identifier for a span within a trace.
TraceId
An identifier for a trace, which groups a set of related spans together.