Expand description
Zipkin is a library for collecting timing information about computations in distributed systems. This information is collected into Zipkin spans.
This library corresponds to version 2 of the Zipkin specification.
Serialization
If the serde
Cargo feature is enabled, Annotation
, Endpoint
, Kind
, Span
, SpanId
, and
TraceId
implement Serialize
and Deserialize
in the standard Zipkin format.
Modules
Annotations.
Endpoints.
Span reporters.
Span samplers.
Sampling flags.
Spans.
Span IDs.
Trace contexts.
Trace IDs.
Tracers.
Structs
Associates an event that explains latency with a timestamp.
A type indicating that an
OpenSpan
is “attached” to the tracer’s with respect to context
management.A type indicating that an
OpenSpan
is “detached” from the tracer’s with respect to context
management.The network context of a node in the service graph.
An open span.
Flags used to control sampling.
A
Span
represents a single operation over some range of time.The ID of a span.
A
TraceContext
represents a distributed trace request.The ID of a trace.
The root tracing object.
Enums
The “kind” of a span.
Traits
A marker trait for types which parameterize an
OpenSpan
’s attachment.A reporter consumes Zipkin spans and reports them.
A sampler decides whether or not a span should be recorded based on its
trace ID.