Class OrphanReporterConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • emitInterval

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

        public OrphanReporterConfig.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.
      • sampleSize

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