Learn about the Wavefront Redis Integration.

Redis Integration

Redis is a popular open source, in-memory data store. This integration installs and configures Telegraf to send Redis cluster 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 activity and system section of a dashboard displaying Redis metrics:



To see a list of the metrics for this integration, select the integration from https://github.com/influxdata/telegraf/tree/master/plugins/inputs.

Redis Setup

Step 1. Install the Telegraf Agent

This integration uses the Redis input plugin for Telegraf. If you’ve already installed Telegraf on your server(s), you can skip to Step 2.

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. Configure Redis Input Plugin

Create a file called redis.conf in /etc/telegraf/telegraf.d and enter the following snippet:

  ## specify servers via a url matching:
  ##  [protocol://][:password]@address[:port]
  ##  e.g.
  ##    tcp://localhost:6379
  ##    tcp://:password@
  ## If no servers are specified, then localhost is used as the host.
  ## If no port is specified, 6379 is used
  servers = ["tcp://your.redis.server:6379"]

To monitor multiple Redis instances, configure the servers parameter with the addresses of the Redis instances:

  servers = ["tcp://your.redis.server1:6379","tcp://your.redis.server2:6379","tcp://your.redis.server2_slave:6379"]

Step 3. Restart Telegraf

Run sudo service telegraf restart to restart your agent.