Crate zipkin_types

Source
Expand description

Type definitions for Zipkin distributed trace information.

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§

annotation
Annotations.
endpoint
Endpoints.
span
Spans.
span_id
Span IDs.
trace_id
Trace IDs.

Structs§

Annotation
Associates an event that explains latency with a timestamp.
Endpoint
The network context of a node in the service graph.
Span
A Span represents a single operation over some range of time.
SpanId
The ID of a span.
TraceId
The ID of a trace.

Enums§

Kind
The “kind” of a span.