From e76eaa86ad0b60c7f1839ae93f2adcc1bf4692cd Mon Sep 17 00:00:00 2001 From: Thomas Gruber Date: Tue, 10 Oct 2023 11:56:42 +0200 Subject: [PATCH] Update influxAsyncSink.md --- sinks/influxAsyncSink.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sinks/influxAsyncSink.md b/sinks/influxAsyncSink.md index 951d67d..ddcf4b4 100644 --- a/sinks/influxAsyncSink.md +++ b/sinks/influxAsyncSink.md @@ -9,7 +9,6 @@ The `influxasync` sink uses the official [InfluxDB golang client](https://pkg.go { "": { "type": "influxasync", - "meta_as_tags" : true, "database" : "mymetrics", "host": "dbhost.example.com", "port": "4222", @@ -21,13 +20,13 @@ The `influxasync` sink uses the official [InfluxDB golang client](https://pkg.go "retry_interval" : "1s", "retry_exponential_base" : 2, "max_retries": 20, - "max_retry_time" : "168h" + "max_retry_time" : "168h", + "meta_as_tags" : [], } } ``` - `type`: makes the sink an `influxdb` sink -- `meta_as_tags`: print all meta information as tags in the output (optional) - `database`: All metrics are written to this bucket - `host`: Hostname of the InfluxDB database server - `port`: Portnumber (as string) of the InfluxDB database server @@ -40,5 +39,6 @@ The `influxasync` sink uses the official [InfluxDB golang client](https://pkg.go - `retry_exponential_base`: The retry interval is exponentially increased with this base, default 2 - `max_retries`: Maximal number of retry attempts - `max_retry_time`: Maximal time to retry failed writes, default 168h (one week) +- `meta_as_tags`: move meta information keys to tags (optional) -For information about the calculation of the retry interval settings, see [offical influxdb-client-go documentation](https://github.com/influxdata/influxdb-client-go#handling-of-failed-async-writes) \ No newline at end of file +For information about the calculation of the retry interval settings, see [offical influxdb-client-go documentation](https://github.com/influxdata/influxdb-client-go#handling-of-failed-async-writes)