Class InfluxDBReporter
java.lang.Object
com.gigaspaces.metrics.MetricReporter
com.gigaspaces.metrics.influxdb.v_08.InfluxDBReporter
- All Implemented Interfaces:
Closeable,AutoCloseable
- Since:
- 10.2.1
- Author:
- Niv Ingberg
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected longconvert(long timestamp) protected InfluxDBDispatchercreateDispatcher(InfluxDBReporterFactory factory) protected voidflush()This method called from methodMetricReporter.report(List)intvoidreport(List<MetricRegistrySnapshot> snapshots) protected StringtoReportMetricName(String metricName, MetricTagsSnapshot tags) Methods inherited from class com.gigaspaces.metrics.MetricReporter
getMetricNameForReport, report, report, report
-
Constructor Details
-
InfluxDBReporter
-
-
Method Details
-
createDispatcher
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classMetricReporter
-
report
- Overrides:
reportin classMetricReporter
-
getMaxReportLength
public int getMaxReportLength() -
convert
protected long convert(long timestamp) -
flush
protected void flush()Description copied from class:MetricReporterThis method called from methodMetricReporter.report(List)- Overrides:
flushin classMetricReporter
-
toReportMetricName
- Overrides:
toReportMetricNamein classMetricReporter
-