public interface InfluxDbSender
| Modifier and Type | Method and Description |
|---|---|
void |
appendPoints(InfluxDbPoint point)
Adds this metric point to the buffer.
|
void |
flush()
Flushes buffer, if applicable.
|
boolean |
hasSeriesData() |
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
Set tags applicable for all the points.
|
void |
writeData()
Writes buffer data to InfluxDb.
|
void flush()
boolean hasSeriesData()
void appendPoints(InfluxDbPoint point)
point - metric point with tags and fieldsvoid writeData()
throws java.lang.Exception
java.lang.Exception - exception while writing to InfluxDb apivoid setTags(java.util.Map<java.lang.String,java.lang.String> tags)
tags - map containing tags common to all metrics