Package metrics_influxdb

Examples of metrics_influxdb.InfluxdbReporter.start()


        .prefixedWith("test")
        .convertRatesTo(TimeUnit.SECONDS)
        .convertDurationsTo(TimeUnit.MILLISECONDS)
        .filter(MetricFilter.ALL)
        .build(influxdb);
    reporter.start(10, TimeUnit.SECONDS);
    return reporter;
  }

  private static ConsoleReporter startConsoleReporter(MetricRegistry registry) throws Exception {
    final ConsoleReporter reporter = ConsoleReporter
View Full Code Here


                        .prefixedWith(hostname)
                        .convertRatesTo(TimeUnit.SECONDS)
                        .convertDurationsTo(TimeUnit.MILLISECONDS)
                        .filter(MetricFilter.ALL).build(influxdb);

                reporter.start(delay, TimeUnit.SECONDS);

                log.info(
                        "Started InfluxDB Metrics reporter for '{}', updating every {}",
                        hostname, period);
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.