supabase-observability

Solid

Set up monitoring and observability for Supabase projects using Dashboard reports, CLI inspect commands, pg_stat_statements, log drains, and alerting. Use when implementing monitoring, diagnosing slow queries, forwarding logs, or configuring alerts for Supabase project health. Trigger with phrases like "supabase monitoring", "supabase metrics", "supabase observability", "supabase logs", "supabase alerts", "supabase inspect", "supabase log drain".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Supabase Observability ## Overview Monitor Supabase projects end-to-end: Dashboard reports for API/database/auth metrics, `supabase inspect db` CLI for deep Postgres diagnostics, `pg_stat_statements` for query analytics, log drains for external aggregation, Edge Functions for custom metrics, and alerting on quota thresholds. ## Prerequisites - Supabase CLI installed (`npx supabase --version`) - Supabase project linked (`supabase link --project-ref <ref>`) - Pro plan or higher for log drain support and extended log retention - `@supabase/supabase-js` v2+ installed for application-level monitoring ## Instructions ### Step 1: Dashboard Reports and CLI Inspect Commands Supabase Dashboard provides built-in reports under **Dashboard > Reports**: | Report | What It Shows | |--------|---------------| | API Requests | Total requests, response times, error rates by endpoint | | Database | Active connections, query counts, replication lag | | Auth Usage | Signups, logins, provider breakdown, failed attempts | | Storage | Bandwidth, object counts, bucket usage | | Realtime | Active connections, messages per second, channel counts | For deeper Postgres diagnostics, use the CLI inspect commands: ```bash # Table sizes — find the largest tables npx supabase inspect db table-sizes --linked # Index usage — find unused indexes wasting space npx supabase inspect db index-usage --linked # Cache hit ratio — should be > 99% (below 95% means upgrade compute) npx supabase inspect db cache...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

supabase-performance-tuning

Optimize Supabase query performance with indexes, EXPLAIN ANALYZE, connection pooling, column selection, pagination, RPC functions, materialized views, and diagnostics. Use when queries are slow, connections are exhausted, response payloads are bloated, or when preparing a Supabase project for production-scale traffic. Trigger with phrases like "supabase performance", "supabase slow queries", "optimize supabase", "supabase index", "supabase connection pool", "supabase pagination", "supabase explain analyze".

2,266 Updated today
jeremylongshore
AI & Automation Solid

supabase-advanced-troubleshooting

Deep Supabase diagnostics: pg_stat_statements for slow queries, lock debugging with pg_locks, connection leak detection, RLS policy conflicts, Edge Function cold starts, and Realtime connection drop analysis. Use when standard troubleshooting fails, investigating performance regressions, debugging race conditions, or building evidence for Supabase support escalation. Trigger: "supabase deep debug", "supabase slow query", "supabase lock contention", "supabase connection leak", "supabase RLS conflict", "supabase cold start".

2,266 Updated today
jeremylongshore
API & Backend Listed

supabase

Manage Supabase projects, databases, migrations, Edge Functions, and storage using the `supabase` CLI.

335 Updated today
aiskillstore
AI & Automation Solid

supabase-incident-runbook

Execute Supabase incident response: dashboard health checks, connection pool status, pg_stat_activity queries, RLS debugging, Edge Function logs, storage health, and escalation. Use when responding to Supabase outages, investigating production errors, debugging connection issues, or preparing evidence for Supabase support escalation. Trigger: "supabase incident", "supabase outage", "supabase down", "supabase on-call", "supabase emergency", "supabase broken", "supabase connection issues".

2,266 Updated today
jeremylongshore
AI & Automation Listed

supabase-automation

Automate Supabase database queries, table management, project administration, storage, edge functions, and SQL execution via Rube MCP (Composio). Always search tools first for current schemas.

335 Updated today
aiskillstore