public class InfluxDBReporter extends MetricReporter
Modifier and Type | Class and Description |
---|---|
static class |
InfluxDBReporter.Point |
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) |
int |
getMaxReportLength() |
void |
report(List<MetricRegistrySnapshot> snapshots) |
protected String |
toReportMetricName(String metricName,
MetricTagsSnapshot tags) |
getMetricNameForReport, report, report, report
public InfluxDBReporter(InfluxDBReporterFactory factory)
protected InfluxDBDispatcher createDispatcher(InfluxDBReporterFactory factory)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class MetricReporter
public void report(List<MetricRegistrySnapshot> snapshots)
report
in class MetricReporter
public int getMaxReportLength()
protected long convert(long timestamp)
protected void flush()
MetricReporter
MetricReporter.report(List)
flush
in class MetricReporter
protected String toReportMetricName(String metricName, MetricTagsSnapshot tags)
toReportMetricName
in class MetricReporter
Copyright © GigaSpaces.