Document updated on Apr 28, 2021
Since | v0.5 |
---|---|
Namespace | github_com/letgoapp/krakend-influx github_com/devopsfaith/krakend-metrics |
Scope | service |
Source | letgoapp/krakend-influx |
KrakenD can expose detailed and extended metrics via the krakend-metrics). The krakend-influx component lets you send these extended KrakenD metrics to InfluxDB.
Notice that there are two different implementations of InfluxDB in KrakenD:
Pushing data to InfluxDB requires adding two different configuration pieces:
You can accomplish it with the following snippet.
{
"version": 2,
"extra_config": {
"github_com/letgoapp/krakend-influx":{
"address":"http://192.168.99.9:8086",
"ttl":"25s",
"buffer_size":0,
"db": "krakend",
"username": "your-influxdb-user",
"password": "your-influxdb-password"
},
"github_com/devopsfaith/krakend-metrics": {
"collection_time": "30s",
"listen_address": "127.0.0.1:8090"
}
}
}
address
(string): The complete url of the influxdb including the port if different from defaults in http/httpsttl
(duration): Expressed as 30s
,1m
). See accepted values.buffer_size
(integer): Use 0
to send events immediately or set the number of points that should be sent together.db
(string): Name of the database, defaults to krakend.username
and password
are optional and used to authenticate against InfluxDB.Now you are ready to publish a Grafana dashboard.
The documentation is only a piece of the help you can get! Whether you are looking for Open Source or Enterprise support, see more support channels that can help you.
We use cookies to understand how you use our site and to improve your overall experience. By continuing to use our site, you accept our Privacy Policy. More information