case class ThresholdRequestTracerConfig(emitInterval: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_EMIT_INTERVAL, queueLength: Int = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_QUEUE_LENGTH, sampleSize: Int = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_SAMPLE_SIZE, kvThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_KV_THRESHOLD, queryThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_QUERY_THRESHOLD, viewThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_VIEW_THRESHOLD, searchThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_SEARCH_THRESHOLD, analyticsThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_ANALYTICS_THRESHOLD) extends Product with Serializable
Allows customising the threshold request tracer.
- Alphabetic
- By Inheritance
- ThresholdRequestTracerConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ThresholdRequestTracerConfig(emitInterval: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_EMIT_INTERVAL, queueLength: Int = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_QUEUE_LENGTH, sampleSize: Int = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_SAMPLE_SIZE, kvThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_KV_THRESHOLD, queryThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_QUERY_THRESHOLD, viewThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_VIEW_THRESHOLD, searchThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_SEARCH_THRESHOLD, analyticsThreshold: Duration = core.env.ThresholdRequestTracerConfig.Defaults.DEFAULT_ANALYTICS_THRESHOLD)
Value Members
- def analyticsThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for analytics operations.
Customize the threshold for analytics operations.
Default is 1s.
- returns
this, for chaining
- def emitInterval(value: Duration): ThresholdRequestTracerConfig
Customize the emit interval.
Customize the emit interval.
Default is 600s.
- returns
this, for chaining
- def kvThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for KV operations.
Customize the threshold for KV operations.
Default is 500ms.
- returns
this, for chaining
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def queryThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for query (N1QL) operations.
Customize the threshold for query (N1QL) operations.
Default is 1s.
- returns
this, for chaining
- def queueLength(value: Int): ThresholdRequestTracerConfig
Customize the queue size for the individual span queues used to track the spans over threshold.
Customize the queue size for the individual span queues used to track the spans over threshold.
- returns
this, for chaining
- def sampleSize(value: Int): ThresholdRequestTracerConfig
Customize the sample size.
Customize the sample size.
- returns
this, for chaining
- def searchThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for search (FTS) operations.
Customize the threshold for search (FTS) operations.
Default is 1s.
- returns
this, for chaining
- def viewThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for view operations.
Customize the threshold for view operations.
Default is 1s.
- returns
this, for chaining