Module zipkin::sample [] [src]

Span samplers.

Structs

AlwaysSampler

A Sampler which always returns true.

NeverSampler

A Sampler which always returns false.

RandomSampler

A Sampler which randomly samples at a specific rate.

Traits

Sample

A sampler decides whether or not a span should be recorded based on its trace ID.