Skip to content

๐ŸŸฆ Redis Labs Prometheus Integrationยถ

This guide explains how to integrate Redis Labs (Redis Enterprise) with Prometheus and Grafana for monitoring in Kubernetes environments.



๐Ÿ“ก Endpointsยถ

Type Endpoint
Prometheus redis-12391.internal.mc1076-0.us-east-1-mz.ec2.cloud.rlrcp.com:8070
Redis Client redis-12391.internal.mc1076-0.us-east-1-mz.ec2.cloud.rlrcp.com:12391

โš™๏ธ Prometheus Scrape Configurationยถ

global:
    scrape_interval: 15s
    evaluation_interval: 15s
    external_labels:
        monitor: "prometheus-stack-monitor"
scrape_configs:
    # scrape Prometheus itself
    - job_name: prometheus
      scrape_interval: 10s
      scrape_timeout: 5s
      static_configs:
        - targets: ["localhost:9090"]
    # scrape Redis Cloud
    - job_name: redis-cloud
      scrape_interval: 30s
      scrape_timeout: 30s
      metrics_path: /  # For v2, use /v2
      scheme: https
      static_configs:
        - targets: ["<prometheus_endpoint>:8070"]

Scrape Interval

Adjust scrape_interval and scrape_timeout based on your monitoring needs and Redis Cloud response times.

๐Ÿ“Š Grafana Plugins:ยถ

grafana:
  plugins:
    - redis-datasource
    - redis-app
    - redis-explorer-app

Grafana Integration

Install these plugins to visualize Redis metrics and explore Redis data directly from Grafana dashboards.

๐Ÿ›ก๏ธ Additional Prometheus Scrape Config (Kubernetes Operator)ยถ

prometheus:
  prometheusSpec:
    additionalScrapeConfigs:
        # scrape Redis Cloud
      - job_name: redis-cloud-east
        scrape_interval: 30s
        scrape_timeout: 30s
        metrics_path: /  # For v2, use /v2
        scheme: https
        static_configs:
          - targets: ["redis-12391.internal.mc1076-0.us-east-1-mz.ec2.cloud.rlrcp.com:8070"]
        tls_config:
          insecure_skip_verify: true

TLS Configuration

If your Redis Cloud endpoint uses self-signed certificates, set insecure_skip_verify: true to avoid TLS errors.