Kong Integration
Kong is an open-source Microservice API gateway. This integration installs and configures Telegraf to send Kong metrics into Wavefront. Telegraf is a light-weight server process capable of collecting, processing, aggregating, and sending metrics to a Wavefront proxy.
In addition to setting up the metrics flow, this integration also installs a dashboard. Here’s the Summary section of the dashboard.
To see a list of the metrics for this integration, select the integration from https://github.com/influxdata/telegraf/tree/master/plugins/inputs.
Kong Setup
Step 1. Install the Telegraf Agent
This integration uses the http input plugin for Telegraf to extract metrics from Kong.
Log in to your Wavefront instance and follow the instructions in the Setup tab to install Telegraf and a Wavefront proxy in your environment. If a proxy is already running in your environment, you can select that proxy and the Telegraf install command connects with that proxy. Sign up for a free trial to check it out!
Step 2. Enable the Kong input plugin
Create a file called kong.conf
in /etc/telegraf/telegraf.d
and enter the following snippet:
[[inputs.http]]
## One or more URLs from which to read formatted metrics
urls = [
"http://<serverip>:8001/status"
]
data_format ="json"
name_prefix = "kong."
Step 3. Restart Telegraf
Run sudo service telegraf restart
to restart your Telegraf agent.