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