From 569459306c4e34e549a8eb71b4979b8c77b80bc5 Mon Sep 17 00:00:00 2001 From: Rachel Elledge Date: Fri, 1 Aug 2025 16:55:36 -0500 Subject: [PATCH 1/2] DOC-5462 Added basic hardware requirements and Docker install step to monitoring RS with Prometheus and Grafana quickstart --- .../rs-prometheus-grafana-quickstart.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/content/embeds/rs-prometheus-grafana-quickstart.md b/content/embeds/rs-prometheus-grafana-quickstart.md index f8472750da..694c8b4441 100644 --- a/content/embeds/rs-prometheus-grafana-quickstart.md +++ b/content/embeds/rs-prometheus-grafana-quickstart.md @@ -21,8 +21,36 @@ Redis Enterprise version 7.8.2 introduces a preview of the new metrics stream en ## Quick start +### Hardware requirements + +The minimum hardware requirements to set up Redis Enterprise Software monitoring in production using Prometheus, Grafana, and the metrics stream engine are: + +- **CPU**: 4 vCPUs +- **Memory**: 8-12 GB RAM +- **Storage**: 100 GB SSD + +You should also consider the following to determine your deployment's hardware requirements: + +- The number of Redis instances being scraped. + +- Lower scrape intervals, such as 15 seconds versus 1 minute, increase resource usage. The Redis scraping interval is 30 seconds. + +- Longer retention increases storage requirements. Basic retention is 90 days. + +- For high availability, run Prometheus in a replicated or federated mode for redundancy, and use Grafana’s load balancing for multiple users. + +- Factor in overhead if Prometheus is writing metrics to remote storage such as Thanos or Cortex. + +- Ensure high disk IOPS for Prometheus TSDB for better write and read performance. + +For more details about Grafana hardware requirements, see the [offical Grafana documentation](https://grafana.com/docs/enterprise-traces/latest/setup/hardware-requirements/). + +### Setup steps + To get started with Prometheus and Grafana: +1. Install Docker on your system. For installation instructions, see the [official Docker documentation](https://docs.docker.com/get-started/get-docker/). + 1. Create a directory called 'prometheus' on your local machine. 1. Within that directory, create a configuration file called `prometheus.yml`. From 51c6565103749b7913b8fb19090534ffed8a6f86 Mon Sep 17 00:00:00 2001 From: Rachel Elledge Date: Thu, 14 Aug 2025 11:31:06 -0500 Subject: [PATCH 2/2] DOC-5462 Added Prometheus and Grafana persistent storage setup to docker-compose config file --- content/embeds/rs-prometheus-grafana-quickstart.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/embeds/rs-prometheus-grafana-quickstart.md b/content/embeds/rs-prometheus-grafana-quickstart.md index 694c8b4441..f9a3a1e6be 100644 --- a/content/embeds/rs-prometheus-grafana-quickstart.md +++ b/content/embeds/rs-prometheus-grafana-quickstart.md @@ -110,6 +110,8 @@ We recommend running Prometheus in Docker only for development and testing. - 9090:9090 volumes: - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml + # Persistent storage for Prometheus + - prometheus-data:/prometheus grafana-ui: image: grafana/grafana @@ -117,8 +119,17 @@ We recommend running Prometheus in Docker only for development and testing. - 3000:3000 environment: - GF_SECURITY_ADMIN_PASSWORD=secret + volumes: + # Persistent storage for Grafana + - grafana-storage:/var/lib/grafana links: - prometheus-server:prometheus + + # Define Docker-managed volumes for persistent storage + # These volumes are created automatically and persist data between container restarts + volumes: + prometheus-data: + grafana-storage: ``` 1. To start the containers, run: