Package com.couchbase.client.core.env
Class ThresholdRequestTracerConfig
- java.lang.Object
-
- com.couchbase.client.core.env.ThresholdRequestTracerConfig
-
@Deprecated public class ThresholdRequestTracerConfig extends Object
Deprecated.Please use the (similar)ThresholdLoggingTracerConfig
instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThresholdRequestTracerConfig.Builder
Deprecated.static class
ThresholdRequestTracerConfig.Defaults
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Duration
analyticsThreshold()
Deprecated.static ThresholdRequestTracerConfig.Builder
analyticsThreshold(Duration analyticsThreshold)
Deprecated.Allows to customize the analyticsThreshold.static ThresholdRequestTracerConfig.Builder
builder()
Deprecated.static ThresholdRequestTracerConfig
create()
Deprecated.static ThresholdRequestTracerConfig
disabled()
Deprecated.Duration
emitInterval()
Deprecated.static ThresholdRequestTracerConfig.Builder
emitInterval(Duration emitInterval)
Deprecated.Allows to customize the emit intervalboolean
enabled()
Deprecated.static ThresholdRequestTracerConfig.Builder
enabled(boolean enabled)
Deprecated.Duration
kvThreshold()
Deprecated.static ThresholdRequestTracerConfig.Builder
kvThreshold(Duration kvThreshold)
Deprecated.Allows to customize the kvThreshold.Duration
queryThreshold()
Deprecated.static ThresholdRequestTracerConfig.Builder
queryThreshold(Duration queryThreshold)
Deprecated.Allows to customize the n1qlThreshold.int
queueLength()
Deprecated.static ThresholdRequestTracerConfig.Builder
queueLength(int queueLength)
Deprecated.Allows to configure the queue size for the individual span queues used to track the spans over threshold.int
sampleSize()
Deprecated.static ThresholdRequestTracerConfig.Builder
sampleSize(int sampleSize)
Deprecated.Allows to customize the sample size per service.Duration
searchThreshold()
Deprecated.static ThresholdRequestTracerConfig.Builder
searchThreshold(Duration searchThreshold)
Deprecated.Allows to customize the ftsThreshold.Duration
viewThreshold()
Deprecated.static ThresholdRequestTracerConfig.Builder
viewThreshold(Duration viewThreshold)
Deprecated.Allows to customize the viewThreshold.
-
-
-
Method Detail
-
builder
public static ThresholdRequestTracerConfig.Builder builder()
Deprecated.
-
create
public static ThresholdRequestTracerConfig create()
Deprecated.
-
disabled
public static ThresholdRequestTracerConfig disabled()
Deprecated.
-
enabled
public static ThresholdRequestTracerConfig.Builder enabled(boolean enabled)
Deprecated.
-
sampleSize
public static 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.
-
emitInterval
public static 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 static 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 static ThresholdRequestTracerConfig.Builder kvThreshold(Duration kvThreshold)
Deprecated.Allows to customize the kvThreshold.- Parameters:
kvThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
analyticsThreshold
public static ThresholdRequestTracerConfig.Builder analyticsThreshold(Duration analyticsThreshold)
Deprecated.Allows to customize the analyticsThreshold.- Parameters:
analyticsThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
queryThreshold
public static ThresholdRequestTracerConfig.Builder queryThreshold(Duration queryThreshold)
Deprecated.Allows to customize the n1qlThreshold.- Parameters:
queryThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
searchThreshold
public static ThresholdRequestTracerConfig.Builder searchThreshold(Duration searchThreshold)
Deprecated.Allows to customize the ftsThreshold.- Parameters:
searchThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
viewThreshold
public static ThresholdRequestTracerConfig.Builder viewThreshold(Duration viewThreshold)
Deprecated.Allows to customize the viewThreshold.- Parameters:
viewThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
enabled
public boolean enabled()
Deprecated.
-
emitInterval
public Duration emitInterval()
Deprecated.
-
queueLength
public int queueLength()
Deprecated.
-
sampleSize
public int sampleSize()
Deprecated.
-
kvThreshold
public Duration kvThreshold()
Deprecated.
-
queryThreshold
public Duration queryThreshold()
Deprecated.
-
viewThreshold
public Duration viewThreshold()
Deprecated.
-
searchThreshold
public Duration searchThreshold()
Deprecated.
-
analyticsThreshold
public Duration analyticsThreshold()
Deprecated.
-
-