Package com.couchbase.client.core.env
Class ThresholdRequestTracerConfig
java.lang.Object
com.couchbase.client.core.env.ThresholdRequestTracerConfig
public class ThresholdRequestTracerConfig extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThresholdRequestTracerConfig.Builder -
Method Summary
Modifier and Type Method Description DurationanalyticsThreshold()static ThresholdRequestTracerConfig.BuilderanalyticsThreshold(Duration analyticsThreshold)Allows to customize the analyticsThreshold.static ThresholdRequestTracerConfig.Builderbuilder()static ThresholdRequestTracerConfigcreate()DurationemitInterval()static ThresholdRequestTracerConfig.BuilderemitInterval(Duration emitInterval)Allows to customize the emit intervalDurationkvThreshold()static ThresholdRequestTracerConfig.BuilderkvThreshold(Duration kvThreshold)Allows to customize the kvThreshold.DurationqueryThreshold()static ThresholdRequestTracerConfig.BuilderqueryThreshold(Duration queryThreshold)Allows to customize the n1qlThreshold.intqueueLength()static ThresholdRequestTracerConfig.BuilderqueueLength(int queueLength)Allows to configure the queue size for the individual span queues used to track the spans over threshold.intsampleSize()static ThresholdRequestTracerConfig.BuildersampleSize(int sampleSize)Allows to customize the sample size per service.DurationsearchThreshold()static ThresholdRequestTracerConfig.BuildersearchThreshold(Duration searchThreshold)Allows to customize the ftsThreshold.DurationviewThreshold()static ThresholdRequestTracerConfig.BuilderviewThreshold(Duration viewThreshold)Allows to customize the viewThreshold.
-
Method Details
-
builder
-
create
-
sampleSize
Allows to customize the sample size per service.- Parameters:
sampleSize- the sample size to set.- Returns:
- this builder for chaining.
-
emitInterval
Allows to customize the emit interval- Parameters:
emitInterval- the interval to use.- Returns:
- this builder for chaining.
-
queueLength
Allows to configure the queue size for the individual span queues used to track the spans over threshold.- Parameters:
queueLength- the queue size to use.- Returns:
- this builder for chaining.
-
kvThreshold
Allows to customize the kvThreshold.- Parameters:
kvThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
analyticsThreshold
Allows to customize the analyticsThreshold.- Parameters:
analyticsThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
queryThreshold
Allows to customize the n1qlThreshold.- Parameters:
queryThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
searchThreshold
Allows to customize the ftsThreshold.- Parameters:
searchThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
viewThreshold
Allows to customize the viewThreshold.- Parameters:
viewThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
emitInterval
-
queueLength
public int queueLength() -
sampleSize
public int sampleSize() -
kvThreshold
-
queryThreshold
-
viewThreshold
-
searchThreshold
-
analyticsThreshold
-