BatchPointsWriter captures a subset of the influxdb.Client methods necessary for emitting metrics observations.
| 82 | // BatchPointsWriter captures a subset of the influxdb.Client methods necessary |
| 83 | // for emitting metrics observations. |
| 84 | type BatchPointsWriter interface { |
| 85 | Write(influxdb.BatchPoints) error |
| 86 | } |
| 87 | |
| 88 | // WriteLoop is a helper method that invokes WriteTo to the passed writer every |
| 89 | // time the passed channel fires. This method blocks until the channel is |
no outgoing calls
no test coverage detected
searching dependent graphs…