Crate zipkin [−] [src]
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 in the standard Zipkin format.
Modules
| annotation |
Annotations. |
| endpoint |
Endpoints. |
| report |
Span reporters. |
| sample |
Span samplers. |
| span |
Spans. |
| span_id |
Span IDs. |
| trace_context |
Trace contexts. |
| trace_id |
Trace IDs. |
| tracer |
Tracers. |
Structs
| Annotation |
Associates an event that explains latency with a timestamp. |
| Endpoint |
The network context of a node in the service graph. |
| OpenSpan |
An open span. |
| Span |
A |
| SpanId |
The ID of a span. |
| TraceContext |
A |
| TraceId |
The ID of a trace. |
| Tracer |
The root tracing object. |
Enums
| Kind |
The "kind" of a span. |
Traits
| Report |
A reporter consumes Zipkin spans and reports them. |
| Sample |
A sampler decides whether or not a span should be recorded based on its trace ID. |