https://grafana.com/docs/grafana-cloud/cost-management-and-billing/analyze-costs/metrics-costs/prometheus-metrics-costs/usage-analysis-api/
Analyze metrics usage with the Prometheus API | Grafana Cloud documentation
Use the Prometheus API to query large number of active series or endpoints.
analyze metricswith theprometheus apigrafana cloudusage