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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CollectorComponentbuild()abstract CollectorComponent.Buildermetrics(CollectorMetrics metrics)Aggregates and reports collection metrics to a monitoring system.abstract CollectorComponent.Buildersampler(CollectorSampler sampler)samples spansto reduce load on the storage system.abstract CollectorComponent.Builderstorage(StorageComponent storage)Once spans are sampled, they areSpanConsumer.accept(List)queued for storage} using this component.
 
- 
- 
- 
Method Detail- 
storagepublic abstract CollectorComponent.Builder storage(StorageComponent storage) Once spans are sampled, they areSpanConsumer.accept(List)queued for storage} using this component.
 - 
metricspublic abstract CollectorComponent.Builder metrics(CollectorMetrics metrics) Aggregates and reports collection metrics to a monitoring system. Should bescoped to this transport. Defaults to no-op.
 - 
samplerpublic abstract CollectorComponent.Builder sampler(CollectorSampler sampler) samples spansto reduce load on the storage system. Defaults to always sample.
 - 
buildpublic abstract CollectorComponent build() 
 
- 
 
-