How to monitor Redis with Bleemeo?

Publicated on 31 March 2021 by Florian Gabon

Figure 1: Redis logo This article describes how to monitor a (cluster of) redis server. Bleemeo will detects automatically the redis server (it can runs in a Docker container or directly on the host) and create automatically a service dashboard. This article will also covers creating a custom dashboard with additional metrics.

What is Redis?

Redis is an in-memory data structure store, open source and it was officially released in 2009. Nowadays Redis is the most used NoSQL database in containers and is one of the most populars key-value databases. Many organisations such as Twitter, GitHub, Snapchat and Flickr use it. Initially developed by Salvatore Sanfilippo, it's sponsored by RedisLabs and it's written in ANSI C and works in most POSIX systems.

How to configure Redis to Bleemeo?

After installing the agent, agent discovers the redis server and start fetching metrics.

Figure 2: Redis schema

Default dashboard

A new service dashboard is automatically created in your server dashboard. This looks like:

Figure 1: Service

By default, two metrics are graphed on the dashboard: number of operations per second and hit ratio. To see all metrics than are gathered from a redis server, just check our documentation

How to customize your dashboard?

If you want more metrics, you can also create a custom dashboard. For example, the following metrics will be added to our custom dashboard:

  • Number of connections (client or slave) per second
  • Number of connected clients
  • Number of connected slaves
  • Status of Redis
  • Memory used by Redis as seen by systems in bytes.

Figure 2: redis Dashboard

This type of dashboard allows you to better understand when there are people connected and how many, and also what is happening on your server.

This dashboard could also contains metrics from other services Bleemeo monitors. In the following dashboard, the following metrics have been aded:

  • Status of PostgreSQL
  • CPU used in percent
  • Memory used by applications in percent

Figure 3: redis custom Dashboard

It will allow you to have a single dashboard for several types to monitor and therefore a dashboard is infinitely customizable, which can be useful for what you need exactly to monitor. With Bleemeo, in a few minutes, you can start monitoring Redis metrics and creating custom dashboards.

If you don't have a Bleemeo account yet, start monitoring your Redis today in 30s.