doc: fix influxDB and statsD case in configuration page.
This commit is contained in:
parent
33a1499bdd
commit
30ad00fa65
2 changed files with 30 additions and 30 deletions
|
@ -4,12 +4,12 @@ To enable the InfluxDB:
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb: {}
|
influxDB: {}
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash tab="CLI"
|
```bash tab="CLI"
|
||||||
|
@ -24,13 +24,13 @@ Address instructs exporter to send metrics to influxdb at this address.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
address = "localhost:8089"
|
address = "localhost:8089"
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
address: localhost:8089
|
address: localhost:8089
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -46,13 +46,13 @@ InfluxDB's address protocol (udp or http).
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
protocol = "udp"
|
protocol = "udp"
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
protocol: udp
|
protocol: udp
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -68,13 +68,13 @@ InfluxDB database used when protocol is http.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
database = ""
|
database = ""
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
database: ""
|
database: ""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -90,13 +90,13 @@ InfluxDB retention policy used when protocol is http.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
retentionPolicy = ""
|
retentionPolicy = ""
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
retentionPolicy: ""
|
retentionPolicy: ""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -112,13 +112,13 @@ InfluxDB username (only with http).
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
username = ""
|
username = ""
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
username: ""
|
username: ""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -134,13 +134,13 @@ InfluxDB password (only with http).
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
password = ""
|
password = ""
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
password: ""
|
password: ""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -156,13 +156,13 @@ Enable metrics on entry points.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
addEntryPointsLabels = true
|
addEntryPointsLabels = true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
addEntryPointsLabels: true
|
addEntryPointsLabels: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -178,13 +178,13 @@ Enable metrics on services.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
addServicesLabels = true
|
addServicesLabels = true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
addServicesLabels: true
|
addServicesLabels: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -200,13 +200,13 @@ The interval used by the exporter to push metrics to influxdb.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.influxdb]
|
[metrics.influxDB]
|
||||||
pushInterval = 10s
|
pushInterval = 10s
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
influxdb:
|
influxDB:
|
||||||
pushInterval: 10s
|
pushInterval: 10s
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,12 @@ To enable the Statsd:
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.statsd]
|
[metrics.statsD]
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
statsd: {}
|
statsD: {}
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash tab="CLI"
|
```bash tab="CLI"
|
||||||
|
@ -24,13 +24,13 @@ Address instructs exporter to send metrics to statsd at this address.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.statsd]
|
[metrics.statsD]
|
||||||
address = "localhost:8125"
|
address = "localhost:8125"
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
statsd:
|
statsD:
|
||||||
address: localhost:8125
|
address: localhost:8125
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -46,13 +46,13 @@ Enable metrics on entry points.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.statsd]
|
[metrics.statsD]
|
||||||
addEntryPointsLabels = true
|
addEntryPointsLabels = true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
statsd:
|
statsD:
|
||||||
addEntryPointsLabels: true
|
addEntryPointsLabels: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -68,13 +68,13 @@ Enable metrics on services.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.statsd]
|
[metrics.statsD]
|
||||||
addServicesLabels = true
|
addServicesLabels = true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
statsd:
|
statsD:
|
||||||
addServicesLabels: true
|
addServicesLabels: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -90,13 +90,13 @@ The interval used by the exporter to push metrics to statsD.
|
||||||
|
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[metrics]
|
[metrics]
|
||||||
[metrics.statsd]
|
[metrics.statsD]
|
||||||
pushInterval = 10s
|
pushInterval = 10s
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
metrics:
|
metrics:
|
||||||
statsd:
|
statsD:
|
||||||
pushInterval: 10s
|
pushInterval: 10s
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue