Package zipkin2.collector
Class CollectorComponent.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
- Enclosing class:
- CollectorComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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.
-
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 spansto reduce load on the storage system. Defaults to always sample. -
build
-