{
  "id": "metrics_stream_engine",
  "title": "Metrics stream engine preview for monitoring v2",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/monitoring/metrics_stream_engine/",
  "summary": "Preview the new metrics stream engine for monitoring Redis Enterprise Software.",
  "content": "\nA preview of the new metrics stream engine is available as of Redis Enterprise Software version 7.8.2.\n\nThe new metrics stream engine:\n\n- Exposes the v2 Prometheus scraping endpoint at `https://\u003cIP\u003e:8070/v2`.\n\n- Exports all time-series metrics to external monitoring tools such as Grafana, DataDog, NewRelic, and Dynatrace using Prometheus.\n\n- Enables real-time monitoring, including full monitoring during maintenance operations, which provides full visibility into performance during events such as shards' failovers and scaling operations.\n\n## Integrate with external monitoring tools\n\nTo integrate Redis Enterprise metrics into your monitoring environment, see the integration guides for [Prometheus and Grafana]().\n\nFilter [Libraries and tools]() by \"observability\" for additional tools and guides.\n\n## Prometheus metrics v2\n\nFor a list of all available v2 metrics, see [Prometheus metrics v2]().\n\nThe v2 scraping endpoint also exposes metrics for `node_exporter` version 1.8.1. For more information, see the [Prometheus node_exporter GitHub repository](https://github.com/prometheus/node_exporter).\n\n## Transition from Prometheus v1 to Prometheus v2\n\nIf you are already using the existing scraping endpoint for integration, do the following to transition from v1 metrics to v2 metrics:\n\n1. Change the `metrics_path` in your Prometheus configuration file from `/` to `/v2` to use the new scraping endpoint.\n\n    Here's an example of the updated scraping configuration in `prometheus.yml`:\n\n    ```yaml\n    scrape_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\n1. Use the metrics tables in [this guide]() to transition from v1 metrics to equivalent v2 PromQL.\n\nIt is possible to scrape both existing and new endpoints simultaneously, allowing advanced dashboard preparation and a smooth transition.\n",
  "tags": ["docs","operate","rs","kubernetes"],
  "last_updated": "0001-01-01T00:00:00Z"
}

