You are viewing a previous version of KrakenD Community Edition (v1.4), go to the
latest version
Document updated on Apr 28, 2021
Exporting metrics and events to InfluxDB
InfluxDB is a time series database designed to handle high write and query loads.
The Opencensus exporter allows you export data to InfluxDB for monitoring metrics and events. Enabling it only requires you to add the influxdb
exporter in the opencensus module.
The following configuration snippet sends data to your InfluxDB:
"github_com/devopsfaith/krakend-opencensus": {
"exporters": {
"influxdb": {
"address": "http://192.168.99.100:8086",
"db": "krakend",
"timeout": "1s",
"username": "your-influxdb-user",
"password": "your-influxdb-password"
}
}
}
address
is the URL (including port) where your InfluxDB is installed.db
is the database name.timeout
is the maximum time you will wait for InfluxDB to respond.username
andpassword
are optional and used to authenticate against InfluxDB.
See also the additional settings of the Opencensus module that can be declared.