This example demonstrates how to monitor Redis Enterprise clusters using Uptrace and OpenTelemetry Collector. It accompanies the Uptrace integration with Redis Enterprise Software documentation.
To run this example, you need to:
- Start docker containers
- Create a Redis cluster
- Open Metrics tab in Uptrace UI
Step 1. Download the example using Git:
git clone https://github.com/uptrace/uptrace.git
cd uptrace/example/redis-enterprise
Step 2. Start the services using Docker:
docker-compose pull
docker-compose up -d
Step 3. Make sure Uptrace is running:
docker-compose logs uptrace
Step 4. Open Uptrace UI at http://localhost:14318
To create a Redis Enterprise cluster, open https://localhost:8443/ and
then follow official
instructions to create
a cluster and a database on the port :12000
.
Once everything is done, you should be able to connect to the created Redis database:
redis-cli -p 12000
Then you can open Uptrace at http://localhost:14318 and navigate to "Metrics" tab to view available dashboards.
Uptrace can monitor metrics using alerting rules and send notifications via email/Slack/Telegram using AlertManager integration.
This example uses MailHog to test email notifications. Open http://localhost:8025 to view available notifications and http://localhost:9093 to view alerts.
See documentation for more details.