Package org.htrace.impl

Examples of org.htrace.impl.ProbabilitySampler


      this.testName = this.getClass().getSimpleName();
      receiverHost = SpanReceiverHost.getInstance(conf);
      if (options.traceRate >= 1.0) {
        this.traceSampler = Sampler.ALWAYS;
      } else if (options.traceRate > 0.0) {
        this.traceSampler = new ProbabilitySampler(options.traceRate);
      } else {
        this.traceSampler = Sampler.NEVER;
      }
      everyN = (int) (opts.totalRows / (opts.totalRows * opts.sampleRate));
      if (options.isValueZipf()) {
View Full Code Here


          if (numIterations > 1000) {
            LOG.warn("Full tracing of all iterations will produce a lot of data. Be sure your"
              + " SpanReciever can keep up.");
          }
        } else {
          loopSampler = new ProbabilitySampler(traceFreq);
        }
      }
    }
View Full Code Here

          if (numIterations > 1000) {
            LOG.warn("Full tracing of all iterations will produce a lot of data. Be sure your"
              + " SpanReciever can keep up.");
          }
        } else {
          loopSampler = new ProbabilitySampler(traceFreq);
        }
      }
    }
View Full Code Here

      this.status = status;
      this.testName = this.getClass().getSimpleName();
      if (options.traceRate >= 1.0) {
        this.traceSampler = Sampler.ALWAYS;
      } else if (options.traceRate > 0.0) {
        this.traceSampler = new ProbabilitySampler(options.traceRate);
      } else {
        this.traceSampler = Sampler.NEVER;
      }
      everyN = (int) (opts.totalRows / (opts.totalRows * opts.sampleRate));
      if (options.isValueZipf()) {
View Full Code Here

TOP

Related Classes of org.htrace.impl.ProbabilitySampler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.