Package zipkin2.collector
Class Collector.Builder
- java.lang.Object
-
- zipkin2.collector.Collector.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collector
build()
Collector.Builder
metrics(CollectorMetrics metrics)
Sets {@link {@link CollectorComponent.Builder#metrics(CollectorMetrics)}}Collector.Builder
sampler(CollectorSampler sampler)
Sets {@link {@link CollectorComponent.Builder#sampler(CollectorSampler)}}Collector.Builder
storage(StorageComponent storage)
Sets {@link {@link CollectorComponent.Builder#storage(StorageComponent)}}
-
-
-
Method Detail
-
storage
public Collector.Builder storage(StorageComponent storage)
Sets {@link {@link CollectorComponent.Builder#storage(StorageComponent)}}
-
metrics
public Collector.Builder metrics(CollectorMetrics metrics)
Sets {@link {@link CollectorComponent.Builder#metrics(CollectorMetrics)}}
-
sampler
public Collector.Builder sampler(CollectorSampler sampler)
Sets {@link {@link CollectorComponent.Builder#sampler(CollectorSampler)}}
-
build
public Collector build()
-
-