Examples of ProbabilitySampler


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

Examples of org.htrace.impl.ProbabilitySampler

          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

Examples of org.htrace.impl.ProbabilitySampler

          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

Examples of org.htrace.impl.ProbabilitySampler

      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
Copyright © 2018 www.massapi.com. 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.