mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Update influxAsyncSink.md
This commit is contained in:
parent
262f0c6a86
commit
e76eaa86ad
@ -9,7 +9,6 @@ The `influxasync` sink uses the official [InfluxDB golang client](https://pkg.go
|
|||||||
{
|
{
|
||||||
"<name>": {
|
"<name>": {
|
||||||
"type": "influxasync",
|
"type": "influxasync",
|
||||||
"meta_as_tags" : true,
|
|
||||||
"database" : "mymetrics",
|
"database" : "mymetrics",
|
||||||
"host": "dbhost.example.com",
|
"host": "dbhost.example.com",
|
||||||
"port": "4222",
|
"port": "4222",
|
||||||
@ -21,13 +20,13 @@ The `influxasync` sink uses the official [InfluxDB golang client](https://pkg.go
|
|||||||
"retry_interval" : "1s",
|
"retry_interval" : "1s",
|
||||||
"retry_exponential_base" : 2,
|
"retry_exponential_base" : 2,
|
||||||
"max_retries": 20,
|
"max_retries": 20,
|
||||||
"max_retry_time" : "168h"
|
"max_retry_time" : "168h",
|
||||||
|
"meta_as_tags" : [],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- `type`: makes the sink an `influxdb` sink
|
- `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
|
- `database`: All metrics are written to this bucket
|
||||||
- `host`: Hostname of the InfluxDB database server
|
- `host`: Hostname of the InfluxDB database server
|
||||||
- `port`: Portnumber (as string) 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
|
- `retry_exponential_base`: The retry interval is exponentially increased with this base, default 2
|
||||||
- `max_retries`: Maximal number of retry attempts
|
- `max_retries`: Maximal number of retry attempts
|
||||||
- `max_retry_time`: Maximal time to retry failed writes, default 168h (one week)
|
- `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)
|
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)
|
Loading…
Reference in New Issue
Block a user