{
  "id": "prometheus-metrics-v1-to-v2",
  "title": "Transition from Prometheus v1 to Prometheus v2",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/metrics/prometheus-metrics-v1-to-v2/",
  "summary": "Transition from v1 metrics to v2 PromQL equivalents.",
  "content": "\nYou can [integrate Redis Enterprise Software with Prometheus and Grafana]() to create dashboards for important metrics.\n\nAs of Redis Enterprise Software version 7.8.2, [PromQL (Prometheus Query Language)](https://prometheus.io/docs/prometheus/latest/querying/basics/) metrics are available. V1 metrics are deprecated but still available.\n\nTo transition from v1 metrics to v2 metrics, you need to change the `metrics_path` in your Prometheus configuration file from `/` to `/v2` to use the new scraping endpoint.\n\nHere's an example of the updated scraping configuration in `prometheus.yml`:\n\n```yaml\nscrape_configs:\n  # Scrape Redis Enterprise\n  - job_name: redis-enterprise\n    scrape_interval: 30s\n    scrape_timeout: 30s\n    metrics_path: /v2\n    scheme: https\n    tls_config:\n      insecure_skip_verify: true\n    static_configs:\n      - targets: [\"\u003ccluster_name\u003e:8070\"]\n```\n\nIt is possible to scrape both v1 and v2 endpoints simultaneously during the transition period to prepare dashboards and ensure a smooth transition.\n\nYou can use the following tables to transition from v1 metrics to equivalent v2 PromQL. For a list of all available v2 metrics, see [Prometheus metrics v2]().\n\n\n",
  "tags": ["docs","integrate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

