public static interface CollectorComponent.Builder
| Modifier and Type | Method and Description |
|---|---|
CollectorComponent |
build() |
CollectorComponent.Builder |
metrics(CollectorMetrics metrics)
Aggregates and reports collection metrics to a monitoring system.
|
CollectorComponent.Builder |
sampler(CollectorSampler sampler)
samples spans to reduce load on the storage
system. |
CollectorComponent.Builder |
storage(StorageComponent storage)
Once spans are sampled, they are
queued for
storage using this component. |
CollectorComponent.Builder storage(StorageComponent storage)
queued for
storage using this component.CollectorComponent.Builder metrics(CollectorMetrics metrics)
scoped to this transport. Defaults to no-op.CollectorComponent.Builder sampler(CollectorSampler sampler)
samples spans to reduce load on the storage
system. Defaults to always sample.CollectorComponent build()
Copyright © 2015–2018 OpenZipkin. All rights reserved.