Package com.couchbase.client.core.env
Class ThresholdLoggingTracerConfig
java.lang.Object
com.couchbase.client.core.env.ThresholdLoggingTracerConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic 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 ThresholdLoggingTracerConfigcreate()Deprecated.Instead, please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)and configure the builder passed to the consumer.static ThresholdLoggingTracerConfigdisabled()Deprecated.This method creates a new builder.emitInterval(Duration emitInterval) Deprecated.This method creates a new builder.booleanenabled()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.intqueueLength(int queueLength) Deprecated.This method creates a new builder.intsampleSize(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
-