Crate zipkin [] [src]

Zipkin is a library for collecting timing information about computations in distributed systems. This information is collected into Zipkin spans.

Serialization

If the serde Cargo feature is enabled, Annotation, BinaryAnnotation, Endpoint, SpanId, and TraceId implement Serialize in the standard Zipkin format.

Modules

annotation

Annotations.

binary_annotation

Binary 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

An Annotation represents an occurence of an event at some time.

BinaryAnnotation

A BinaryAnnotation represents extra information about a Span.

Endpoint

An Endpoint represents information about a service recording trace information.

OpenSpan

An open span.

Span

A Span represents a single operation over some range of time.

SpanId

The ID of a span.

TraceContext

A TraceContext represents a distributed trace request.

TraceId

The ID of a trace.

Tracer

The root tracing object.

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.