apps/docs/content/guides/monitoring-and-debugging/metrics/grafana-cloud.mdx
Grafana Cloud gives you a fully managed Prometheus endpoint plus hosted Grafana dashboards, which makes it the fastest way to explore the Supabase Metrics API without operating your own infrastructure.
The Grafana Cloud integration is available in the Supabase Dashboard. Add the integration and select a project to get a fully-configured instance in one click: authentication, metric scraping, and a pre-built dashboard tracking 200+ metrics, set up automatically.
By integrating Supabase with Grafana Cloud, users gain monitoring capabilities for Supabase performance and operations. The included dashboard offers a comprehensive overview of Supabase performance, supplemented with Postgres metrics.
The Grafana Cloud integration available in the Supabase Dashboard is the recommended path. You can still configure and run the setup manually by following the steps below.
<Admonition type="caution">Use this guide only if you need full manual control (custom scrape topology, self-hosted Prometheus or non-standard auth).
</Admonition>sb_secret_...).metrics:write and metrics:read scopes if you plan to push data manually.production-eu-central-1.abcd1234).https://<project-ref>.supabase.co/customer/v1/privileged/metrics).sb_secret_...).If you prefer to reuse an existing Grafana Agent deployment, configure an integration pipeline with the same URL and credentials.
supabase-grafana/dashboard.json.This dashboard includes 200+ charts grouped by CPU, IO, connections, replication, WAL, and bloat indicators.
<Image src="/docs/img/guides/platform/supabase-grafana-prometheus.png" alt="Supabase Grafana dashboard showcasing database metrics" width="3000" height="1509" />
The docs/example-alerts.md file contains suggested alert rules (disk saturation, long-running queries, replication lag, etc.). Import the alert rules into Grafana Cloud’s Alerting UI or translate them into Grafana Cloud’s managed alert rule format.
https://<project-ref>.supabase.co and that the selected Secret API key is still valid.