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: