Package com.couchbase.client.core.env
Class ThresholdLoggingTracerConfig
java.lang.Object
com.couchbase.client.core.env.ThresholdLoggingTracerConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionanalyticsThreshold
(Duration analyticsThreshold) Deprecated.This method creates a new builder.builder()
Deprecated.Instead of creating a new builder, please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)
and configure the builder passed to the consumer.static ThresholdLoggingTracerConfig
create()
Deprecated.Instead, please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)
and configure the builder passed to the consumer.static ThresholdLoggingTracerConfig
disabled()
Deprecated.This method creates a new builder.emitInterval
(Duration emitInterval) Deprecated.This method creates a new builder.boolean
enabled()
enabled
(boolean enabled) Deprecated.This method creates a new builder.kvThreshold
(Duration kvThreshold) Deprecated.This method creates a new builder.queryThreshold
(Duration queryThreshold) Deprecated.This method creates a new builder.int
queueLength
(int queueLength) Deprecated.This method creates a new builder.int
sampleSize
(int sampleSize) Deprecated.This method creates a new builder.searchThreshold
(Duration searchThreshold) Deprecated.This method creates a new builder.viewThreshold
(Duration viewThreshold) Deprecated.This method creates a new builder.
-
Method Details
-
builder
Deprecated.Instead of creating a new builder, please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)
and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass namedClusterEnvironment
. -
create
Deprecated.Instead, please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)
and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass namedClusterEnvironment
. -
disabled
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
. -
enabled
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
. -
sampleSize
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the sample size per service.- Parameters:
sampleSize
- the sample size to set.- Returns:
- this builder for chaining.
-
emitInterval
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the emit interval- Parameters:
emitInterval
- the interval to use.- Returns:
- this builder for chaining.
-
queueLength
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.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
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the kvThreshold.- Parameters:
kvThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
analyticsThreshold
@Deprecated public static ThresholdLoggingTracerConfig.Builder analyticsThreshold(Duration analyticsThreshold) Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the analyticsThreshold.- Parameters:
analyticsThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
queryThreshold
@Deprecated public static ThresholdLoggingTracerConfig.Builder queryThreshold(Duration queryThreshold) Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the n1qlThreshold.- Parameters:
queryThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
searchThreshold
@Deprecated public static ThresholdLoggingTracerConfig.Builder searchThreshold(Duration searchThreshold) Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the ftsThreshold.- Parameters:
searchThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
viewThreshold
@Deprecated public static ThresholdLoggingTracerConfig.Builder viewThreshold(Duration viewThreshold) Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the viewThreshold.- Parameters:
viewThreshold
- the threshold to set.- Returns:
- this builder for chaining.
-
enabled
public boolean enabled() -
emitInterval
-
queueLength
public int queueLength() -
sampleSize
public int sampleSize() -
kvThreshold
-
queryThreshold
-
viewThreshold
-
searchThreshold
-
analyticsThreshold
-
transactionsThreshold
-