InfluxDB
To enable the InfluxDB:
[metrics]
[metrics.influxdb]
metrics:
influxdb: {}
--metrics.influxdb=true
address
Required, Default="localhost:8089"
Address instructs exporter to send metrics to influxdb at this address.
[metrics]
[metrics.influxdb]
address = "localhost:8089"
metrics:
influxdb:
address: localhost:8089
--metrics.influxdb.address="localhost:8089"
protocol
Required, Default="udp"
InfluxDB's address protocol (udp or http).
[metrics]
[metrics.influxdb]
protocol = "udp"
metrics:
influxdb:
protocol: udp
--metrics.influxdb.protocol="udp"
database
Optional, Default=""
InfluxDB database used when protocol is http.
[metrics]
[metrics.influxdb]
database = ""
metrics:
influxdb:
database: ""
--metrics.influxdb.database=""
retentionPolicy
Optional, Default=""
InfluxDB retention policy used when protocol is http.
[metrics]
[metrics.influxdb]
retentionPolicy = ""
metrics:
influxdb:
retentionPolicy: ""
--metrics.influxdb.retentionPolicy=""
username
Optional, Default=""
InfluxDB username (only with http).
[metrics]
[metrics.influxdb]
username = ""
metrics:
influxdb:
username: ""
--metrics.influxdb.username=""
password
Optional, Default=""
InfluxDB password (only with http).
[metrics]
[metrics.influxdb]
password = ""
metrics:
influxdb:
password: ""
--metrics.influxdb.password=""
addEntryPointsLabels
Optional, Default=true
Enable metrics on entry points.
[metrics]
[metrics.influxdb]
addEntryPointsLabels = true
metrics:
influxdb:
addEntryPointsLabels: true
--metrics.influxdb.addEntryPointsLabels=true
addServicesLabels
Optional, Default=true
Enable metrics on services.
[metrics]
[metrics.influxdb]
addServicesLabels = true
metrics:
influxdb:
addServicesLabels: true
--metrics.influxdb.addServicesLabels=true
pushInterval
Optional, Default=10s
The interval used by the exporter to push metrics to influxdb.
[metrics]
[metrics.influxdb]
pushInterval = 10s
metrics:
influxdb:
pushInterval: 10s
--metrics.influxdb.pushInterval=10s