Package com.couchbase.client.core.env
Class ThresholdRequestTracerConfig.Builder
- java.lang.Object
-
- com.couchbase.client.core.env.ThresholdRequestTracerConfig.Builder
-
- Enclosing class:
- ThresholdRequestTracerConfig
@Deprecated public static class ThresholdRequestTracerConfig.Builder extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description Builder()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ThresholdRequestTracerConfig.BuilderanalyticsThreshold(Duration analyticsThreshold)Deprecated.Allows to customize the analyticsThreshold.ThresholdRequestTracerConfigbuild()Deprecated.ThresholdRequestTracerConfig.BuilderemitInterval(Duration emitInterval)Deprecated.Allows to customize the emit intervalThresholdRequestTracerConfig.Builderenabled(boolean enabled)Deprecated.static ThresholdRequestTracerConfig.BuilderfromNewBuilder(ThresholdLoggingTracerConfig.Builder newBuilder)Deprecated.ThresholdRequestTracerConfig.BuilderkvThreshold(Duration kvThreshold)Deprecated.Allows to customize the kvThreshold.ThresholdRequestTracerConfig.BuilderqueryThreshold(Duration queryThreshold)Deprecated.Allows to customize the n1qlThreshold.ThresholdRequestTracerConfig.BuilderqueueLength(int queueLength)Deprecated.Allows to configure the queue size for the individual span queues used to track the spans over threshold.ThresholdRequestTracerConfig.BuildersampleSize(int sampleSize)Deprecated.Allows to customize the sample size per service.ThresholdRequestTracerConfig.BuildersearchThreshold(Duration searchThreshold)Deprecated.Allows to customize the ftsThreshold.ThresholdLoggingTracerConfig.BuildertoNewBuillder()Deprecated.Converts this deprecated builder into its non-deprecated version.ThresholdRequestTracerConfig.BuilderviewThreshold(Duration viewThreshold)Deprecated.Allows to customize the viewThreshold.
-
-
-
Method Detail
-
enabled
public ThresholdRequestTracerConfig.Builder enabled(boolean enabled)
Deprecated.
-
emitInterval
public ThresholdRequestTracerConfig.Builder emitInterval(Duration emitInterval)
Deprecated.Allows to customize the emit interval- Parameters:
emitInterval- the interval to use.- Returns:
- this builder for chaining.
-
queueLength
public ThresholdRequestTracerConfig.Builder queueLength(int queueLength)
Deprecated.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
public ThresholdRequestTracerConfig.Builder kvThreshold(Duration kvThreshold)
Deprecated.Allows to customize the kvThreshold.- Parameters:
kvThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
queryThreshold
public ThresholdRequestTracerConfig.Builder queryThreshold(Duration queryThreshold)
Deprecated.Allows to customize the n1qlThreshold.- Parameters:
queryThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
viewThreshold
public ThresholdRequestTracerConfig.Builder viewThreshold(Duration viewThreshold)
Deprecated.Allows to customize the viewThreshold.- Parameters:
viewThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
searchThreshold
public ThresholdRequestTracerConfig.Builder searchThreshold(Duration searchThreshold)
Deprecated.Allows to customize the ftsThreshold.- Parameters:
searchThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
analyticsThreshold
public ThresholdRequestTracerConfig.Builder analyticsThreshold(Duration analyticsThreshold)
Deprecated.Allows to customize the analyticsThreshold.- Parameters:
analyticsThreshold- the threshold to set.- Returns:
- this builder for chaining.
-
sampleSize
public ThresholdRequestTracerConfig.Builder sampleSize(int sampleSize)
Deprecated.Allows to customize the sample size per service.- Parameters:
sampleSize- the sample size to set.- Returns:
- this builder for chaining.
-
toNewBuillder
@Internal public ThresholdLoggingTracerConfig.Builder toNewBuillder()
Deprecated.Converts this deprecated builder into its non-deprecated version.- Returns:
- the new, not deprecated builder.
-
build
public ThresholdRequestTracerConfig build()
Deprecated.
-
fromNewBuilder
@Internal public static ThresholdRequestTracerConfig.Builder fromNewBuilder(ThresholdLoggingTracerConfig.Builder newBuilder)
Deprecated.
-
-