Class ThresholdRequestTracerConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • emitInterval

        public ThresholdRequestTracerConfig.Builder emitInterval​(Duration emitInterval)
        Allows to customize the emit interval
        Parameters:
        emitInterval - the interval to use.
        Returns:
        this builder for chaining.
      • queueLength

        public ThresholdRequestTracerConfig.Builder queueLength​(int queueLength)
        Allows to configure the queue size for the individual span queues used to track the spans over threshold.
        Parameters:
        queueLength - the queue size to use.
        Returns:
        this builder for chaining.
      • queryThreshold

        public ThresholdRequestTracerConfig.Builder queryThreshold​(Duration queryThreshold)
        Allows to customize the n1qlThreshold.
        Parameters:
        queryThreshold - the threshold to set.
        Returns:
        this builder for chaining.
      • viewThreshold

        public ThresholdRequestTracerConfig.Builder viewThreshold​(Duration viewThreshold)
        Allows to customize the viewThreshold.
        Parameters:
        viewThreshold - the threshold to set.
        Returns:
        this builder for chaining.
      • searchThreshold

        public ThresholdRequestTracerConfig.Builder searchThreshold​(Duration searchThreshold)
        Allows to customize the ftsThreshold.
        Parameters:
        searchThreshold - the threshold to set.
        Returns:
        this builder for chaining.
      • analyticsThreshold

        public ThresholdRequestTracerConfig.Builder analyticsThreshold​(Duration analyticsThreshold)
        Allows to customize the analyticsThreshold.
        Parameters:
        analyticsThreshold - the threshold to set.
        Returns:
        this builder for chaining.
      • sampleSize

        public ThresholdRequestTracerConfig.Builder sampleSize​(int sampleSize)
        Allows to customize the sample size per service.
        Parameters:
        sampleSize - the sample size to set.
        Returns:
        this builder for chaining.