public static class ThresholdRequestTracerConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ThresholdRequestTracerConfig.Builder |
analyticsThreshold(Duration analyticsThreshold)
Allows to customize the analyticsThreshold.
|
ThresholdRequestTracerConfig |
build() |
ThresholdRequestTracerConfig.Builder |
emitInterval(Duration emitInterval)
Allows to customize the emit interval
|
ThresholdRequestTracerConfig.Builder |
kvThreshold(Duration kvThreshold)
Allows to customize the kvThreshold.
|
ThresholdRequestTracerConfig.Builder |
queryThreshold(Duration queryThreshold)
Allows to customize the n1qlThreshold.
|
ThresholdRequestTracerConfig.Builder |
queueLength(int queueLength)
Allows to configure the queue size for the individual span queues
used to track the spans over threshold.
|
ThresholdRequestTracerConfig.Builder |
sampleSize(int sampleSize)
Allows to customize the sample size per service.
|
ThresholdRequestTracerConfig.Builder |
searchThreshold(Duration searchThreshold)
Allows to customize the ftsThreshold.
|
ThresholdRequestTracerConfig.Builder |
viewThreshold(Duration viewThreshold)
Allows to customize the viewThreshold.
|
public ThresholdRequestTracerConfig.Builder emitInterval(Duration emitInterval)
emitInterval
- the interval to use.public ThresholdRequestTracerConfig.Builder queueLength(int queueLength)
queueLength
- the queue size to use.public ThresholdRequestTracerConfig.Builder kvThreshold(Duration kvThreshold)
kvThreshold
- the threshold to set.public ThresholdRequestTracerConfig.Builder queryThreshold(Duration queryThreshold)
queryThreshold
- the threshold to set.public ThresholdRequestTracerConfig.Builder viewThreshold(Duration viewThreshold)
viewThreshold
- the threshold to set.public ThresholdRequestTracerConfig.Builder searchThreshold(Duration searchThreshold)
searchThreshold
- the threshold to set.public ThresholdRequestTracerConfig.Builder analyticsThreshold(Duration analyticsThreshold)
analyticsThreshold
- the threshold to set.public ThresholdRequestTracerConfig.Builder sampleSize(int sampleSize)
sampleSize
- the sample size to set.public ThresholdRequestTracerConfig build()
Copyright © 2020 Couchbase, Inc.. All rights reserved.