public class InfluxDBReporter extends MetricReporter
Constructor and Description |
---|
InfluxDBReporter(InfluxDBReporterFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected long |
convert(long timestamp) |
protected InfluxDBDispatcher |
createDispatcher(InfluxDBReporterFactory factory) |
protected void |
flush()
This method called from method
MetricReporter.report(List) |
InfluxDBDispatcher |
getDispatcher() |
protected void |
report(MetricRegistrySnapshot snapshot,
MetricTagsSnapshot tags,
String key,
Object value) |
getMetricNameForReport, report, report, report, toReportMetricName
public InfluxDBReporter(InfluxDBReporterFactory factory)
protected InfluxDBDispatcher createDispatcher(InfluxDBReporterFactory factory)
protected void report(MetricRegistrySnapshot snapshot, MetricTagsSnapshot tags, String key, Object value)
report
in class MetricReporter
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class MetricReporter
public InfluxDBDispatcher getDispatcher()
protected long convert(long timestamp)
protected void flush()
MetricReporter
MetricReporter.report(List)
flush
in class MetricReporter
Copyright © GigaSpaces.