Package zipkin2.collector.scribe
Class ScribeCollector.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
zipkin2.collector.scribe.ScribeCollector.Builder
- Enclosing class:
- ScribeCollector
Configuration including defaults needed to receive spans from a Scribe category.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Category zipkin spans will be consumed from.metrics
(CollectorMetrics metrics) port
(int port) The port to listen on.sampler
(CollectorSampler sampler) storage
(StorageComponent storage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storage
- Specified by:
storage
in classCollectorComponent.Builder
-
metrics
- Specified by:
metrics
in classCollectorComponent.Builder
-
sampler
- Specified by:
sampler
in classCollectorComponent.Builder
-
category
Category zipkin spans will be consumed from. Defaults to "zipkin" -
port
The port to listen on. Defaults to 9410 -
build
- Specified by:
build
in classCollectorComponent.Builder
-