Control Prometheus metrics usage
This guide will help you analyze and reduce your Prometheus metrics usage.
You can identify high-cardinality metrics in multiple ways:
- Using the Grafana Cloud Explore. To learn how to do this, please see Analyzing Prometheus metric usage with Grafana Explore.
- Using the Prometheus API for your Grafana Cloud Metrics Prometheus endpoint. To learn how to do this, please see Analyzing metrics usage with the Prometheus API.
- Using mimirtool to discover metrics that are not being used. To learn how to do this, please see Finding unused metrics with mimirtool.
- (Grafana Cloud Pro and Advanced customers only) Using the Cardinality management dashboards.
If you have more than 100,000 active series, you should use the Prometheus API.
If you already know which high-cardinality metrics and labels you want to whitelist or drop, please consult:
To learn how to reduce your DPM by scraping less frequently (increasing the
scrape_interval parameter), please see:
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.