You are viewing a previous version of KrakenD Enterprise Edition (v1.3), 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"
},
}
}
addressis the URL (including port) where your InfluxDB is installed.dbis the database name.timeoutis the maximum time you will wait for InfluxDB to respond.usernameandpasswordare optional and used to authenticate against InfluxDB.
See also the additional settings of the Opencensus module that can be declared.
