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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def analyticsThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for analytics operations.
Customize the threshold for analytics operations.
Default is 1s.
- returns
this, for chaining
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def emitInterval(value: Duration): ThresholdRequestTracerConfig
Customize the emit interval.
Customize the emit interval.
Default is 600s.
- returns
this, for chaining
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def kvThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for KV operations.
Customize the threshold for KV operations.
Default is 500ms.
- returns
this, for chaining
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def viewThreshold(value: Duration): ThresholdRequestTracerConfig
Customize the threshold for view operations.
Customize the threshold for view operations.
Default is 1s.
- returns
this, for chaining
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated