MEDIUM story-supabase-backend-core-global-admin-009 3 pts
3
Story Points
Medium
Priority
Supabase Backend Core
Feature

User Story

As a Global Administrator
I want to monitor database performance metrics, API request rates, and resource usage across the Supabase platform
So that So that I can proactively identify performance bottlenecks, plan capacity upgrades, and detect anomalous usage patterns before they impact end users

Acceptance Criteria

  • Given multiple organizations are actively using the platform, when the admin views Supabase dashboard metrics, then aggregate and per-project usage statistics are visible
  • Given a slow database query is occurring frequently, when the admin reviews the pg_stat_statements data, then the problematic query is identifiable with execution time and frequency
  • Given API error rates spike above a threshold, when the admin checks request logs, then error types (400, 401, 403, 500) are broken down with request paths to identify the source
  • Given database connection pool limits are being approached, when the admin reviews connection metrics, then current usage vs limits is visible with time-series history
  • Given an Edge Function is failing repeatedly, when the admin checks function invocation logs, then error messages, stack traces, and affected organization contexts are accessible

Business Value

Platform monitoring enables proactive operations rather than reactive incident response. For a multi-organization SaaS platform, an undetected performance degradation in Supabase affects all organizations simultaneously. The global admin's pain point of 'no unified view of platform health across all member organizations' is directly addressed by platform-level observability, enabling the admin to detect and resolve issues before organizations report them.

Components