c

com.couchbase.client.scala.env

ThresholdRequestTracerConfig

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.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThresholdRequestTracerConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def analyticsThreshold(value: Duration): ThresholdRequestTracerConfig

    Customize the threshold for analytics operations.

    Customize the threshold for analytics operations.

    Default is 1s.

    returns

    this, for chaining

  2. def emitInterval(value: Duration): ThresholdRequestTracerConfig

    Customize the emit interval.

    Customize the emit interval.

    Default is 600s.

    returns

    this, for chaining

  3. def kvThreshold(value: Duration): ThresholdRequestTracerConfig

    Customize the threshold for KV operations.

    Customize the threshold for KV operations.

    Default is 500ms.

    returns

    this, for chaining

  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. 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

  6. 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

  7. def sampleSize(value: Int): ThresholdRequestTracerConfig

    Customize the sample size.

    Customize the sample size.

    returns

    this, for chaining

  8. 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

  9. def viewThreshold(value: Duration): ThresholdRequestTracerConfig

    Customize the threshold for view operations.

    Customize the threshold for view operations.

    Default is 1s.

    returns

    this, for chaining