# Supabase Reports and Metrics

[Supabase](https://yomu.fyi/company/supabase) · Div Arora · Jul 29, 2021

**Type:** Announcement

## Summary

Supabase introduced a dedicated Reports section and updated project home pages to deliver observability across hosted Postgres projects and complementary services. Because developers can run unconstrained database queries and custom workloads, monitoring both project-level service usage and underlying infrastructure metrics is essential. The new dashboard displays one month of historical data, including CPU and memory usage alongside request volumes for Database, Auth, and Storage APIs. To collect metrics across hundreds of thousands of targets without high latency, Supabase implemented a federated monitoring architecture running regional Prometheus instances that scrape local exporters and aggregate subsets into a central VictoriaMetrics instance. All project databases now also launch with the pg\_stat\_statements extension enabled for future query statistics.

## Context

Supabase provisions a Postgres cluster alongside services like PostgREST, Auth, Storage, and Realtime for each project. Because users have liberal access to run custom workloads and raw database connections, they risk triggering failure scenarios or resource bottlenecks that require detailed observability to diagnose and optimize.

## Approach / What changed

Supabase introduced a Reports dashboard and updated project home pages displaying system and service metrics. To handle scraping hundreds of thousands of targets, Supabase deploys a federated monitoring system with regional Prometheus instances scraping project exporters, with aggregate subsets forwarded to a central VictoriaMetrics instance.

## Takeaways

- Supabase utilizes a federated monitoring architecture where regional Prometheus instances scrape project exporters across geographic regions to shard data collection and reduce latency.
- A centralized VictoriaMetrics instance aggregates a subset of regional monitoring data to enable cross-project cohort analysis, with regional collectors also transitioning to VictoriaMetrics.
- All new Supabase Postgres databases are provisioned with pg\_stat\_statements enabled by default to lay the groundwork for query-level performance statistics.

**Tags:** [Developer Experience](https://yomu.fyi/topic/developer-experience), [Monitoring](https://yomu.fyi/topic/monitoring), [Observability](https://yomu.fyi/topic/observability), [Postgres](https://yomu.fyi/topic/postgres), [Scalability](https://yomu.fyi/topic/scalability)

[Read original post](https://supabase.com/blog/supabase-reports-and-metrics)
