The Redis Integration allows you to monitor your Redis instances in real-time and track essential metrics that ensure the smooth operation of your in-memory data structure store. This integration provides key metrics about Redis performance, memory usage, key space, commands processed, and pub/sub activity, giving you comprehensive visibility into your Redis infrastructure.
Metrics Monitored:
- Total Keys: Displays the total number of keys in the Redis database.
- Keys and Expire Keys: rack how many keys are currently in use and how many are set to expire.
- Connected Clients: Shows the number of active client connections to the Redis server.
- Memory Usage: Monitors the memory being used by Redis and helps identify any memory issues.
- Commands Processed: View the total number of commands processed by the Redis server over time.
- Pub/Sub Channels and Patterns: Monitor the number of active Pub/Sub channels and patterns for messaging.
- Network Traffic (Input/Output): Displays the network traffic statistics for Redis, including bytes sent and received.
- Keyspace (Hits and Misses): Track keyspace hits and misses, providing insights into the effectiveness of Redis caching.
- Expired Keys: Shows the number of keys that have been removed due to expiration.
You can see the result of the integration in the video below
To monitor your Redis server, follow these steps:
Step-by-Step Integration Instructions:
- Install the Watchlog Agent:If you haven't already installed the Watchlog Agent, download and install it on your server.
- Configure Redis in integration.json:In Ubuntu agent you can find it in "/opt/watchlog-agent/integration.json"In Source agent you can find it in watchlog-agent directoryNavigate to your agent configuration file (integration.json) and enable Docker integration by setting the Docker key to true. Example:
- Reload the Agent:After updating the configuration file, you need to reload the Watchlog Agent for the changes to take effect. You can do this by running:In Ubuntu agent :In Source agent :