Add non-blocking InfluxDB sink (#29)

* Add non-blocking InfluxDB sink

* Add configurable batch size
This commit is contained in:
Thomas Gruber
2022-02-07 16:51:46 +01:00
committed by GitHub
parent 6dd95d6fed
commit d1e66201a6
4 changed files with 160 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
## `influxdb` sink
The `influxdb` sink uses the official [InfluxDB golang client](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2) to write the metrics to an InfluxDB database. It provides only support for V2 write endpoints (InfluxDB 1.8.0 or later).
The `influxdb` sink uses the official [InfluxDB golang client](https://pkg.go.dev/github.com/influxdata/influxdb-client-go/v2) to write the metrics to an InfluxDB database in a **blocking** fashion. It provides only support for V2 write endpoints (InfluxDB 1.8.0 or later).
### Configuration structure