Package zipkin2.collector
Class CollectorComponent.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
- Enclosing class:
- CollectorComponent
public abstract static class CollectorComponent.Builder extends Object
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description abstract CollectorComponent
build()
abstract CollectorComponent.Builder
metrics(CollectorMetrics metrics)
Aggregates and reports collection metrics to a monitoring system.abstract CollectorComponent.Builder
sampler(CollectorSampler sampler)
samples spans
to reduce load on the storage system.abstract CollectorComponent.Builder
storage(StorageComponent storage)
Once spans are sampled, they areSpanConsumer.accept(List)
queued for storage} using this component.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storage
Once spans are sampled, they areSpanConsumer.accept(List)
queued for storage} using this component. -
metrics
Aggregates and reports collection metrics to a monitoring system. Should bescoped to this transport
. Defaults to no-op. -
sampler
samples spans
to reduce load on the storage system. Defaults to always sample. -
build
-