public static class ThresholdLoggingTracerConfig.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ThresholdLoggingTracerConfig.Builder |
analyticsThreshold(Duration analyticsThreshold)
Allows to customize the analyticsThreshold.
|
ThresholdLoggingTracerConfig |
build() |
ThresholdLoggingTracerConfig.Builder |
emitInterval(Duration emitInterval)
Allows to customize the emit interval
|
ThresholdLoggingTracerConfig.Builder |
enabled(boolean enabled) |
ThresholdLoggingTracerConfig.Builder |
kvThreshold(Duration kvThreshold)
Allows to customize the kvThreshold.
|
ThresholdLoggingTracerConfig.Builder |
queryThreshold(Duration queryThreshold)
Allows to customize the n1qlThreshold.
|
ThresholdLoggingTracerConfig.Builder |
queueLength(int queueLength)
Allows to configure the queue size for the individual span queues
used to track the spans over threshold.
|
ThresholdLoggingTracerConfig.Builder |
sampleSize(int sampleSize)
Allows to customize the sample size per service.
|
ThresholdLoggingTracerConfig.Builder |
searchThreshold(Duration searchThreshold)
Allows to customize the ftsThreshold.
|
ThresholdLoggingTracerConfig.Builder |
transactionsThreshold(Duration transactionsThreshold)
Allows customizing the threshold above which transactions are regarded as slow.
|
ThresholdLoggingTracerConfig.Builder |
viewThreshold(Duration viewThreshold)
Allows to customize the viewThreshold.
|
public ThresholdLoggingTracerConfig.Builder enabled(boolean enabled)
public ThresholdLoggingTracerConfig.Builder emitInterval(Duration emitInterval)
emitInterval - the interval to use.public ThresholdLoggingTracerConfig.Builder queueLength(int queueLength)
queueLength - the queue size to use.public ThresholdLoggingTracerConfig.Builder kvThreshold(Duration kvThreshold)
kvThreshold - the threshold to set.public ThresholdLoggingTracerConfig.Builder queryThreshold(Duration queryThreshold)
queryThreshold - the threshold to set.public ThresholdLoggingTracerConfig.Builder viewThreshold(Duration viewThreshold)
viewThreshold - the threshold to set.public ThresholdLoggingTracerConfig.Builder searchThreshold(Duration searchThreshold)
searchThreshold - the threshold to set.public ThresholdLoggingTracerConfig.Builder analyticsThreshold(Duration analyticsThreshold)
analyticsThreshold - the threshold to set.public ThresholdLoggingTracerConfig.Builder transactionsThreshold(Duration transactionsThreshold)
transactionsThreshold - the threshold to set.public ThresholdLoggingTracerConfig.Builder sampleSize(int sampleSize)
sampleSize - the sample size to set.public ThresholdLoggingTracerConfig build()
Copyright © 2024 Couchbase, Inc.. All rights reserved.