Uses of Class
zipkin2.collector.CollectorSampler
-
Uses of CollectorSampler in zipkin2.collector
Modifier and TypeMethodDescriptionstatic CollectorSampler
CollectorSampler.create
(float rate) Returns a trace ID sampler with the indicated rate.Modifier and TypeMethodDescriptionCollector.Builder.sampler
(CollectorSampler sampler) Sets {@link {@link CollectorComponent.Builder#sampler(CollectorSampler)}}abstract CollectorComponent.Builder
CollectorComponent.Builder.sampler
(CollectorSampler sampler) samples spans
to reduce load on the storage system.