Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/supabase-observability

@0d57af8
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/supabase-observability

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescli-inspect-commands.md

≈408 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CLI Inspect Commands

The Supabase CLI ships supabase inspect db subcommands that run diagnostic queries against your linked Postgres instance. Run any of these against a linked project to surface hotspots the Dashboard reports do not expose.

# 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-hit --linked

# Sequential scans — tables needing indexes
npx supabase inspect db seq-scans --linked

# Long-running queries — find stuck queries
npx supabase inspect db long-running-queries --linked

# Table index sizes — compare index vs table size
npx supabase inspect db table-index-sizes --linked

# Bloat — estimate wasted space from dead tuples
npx supabase inspect db bloat --linked

# Blocking queries — find lock contention
npx supabase inspect db blocking --linked

# Replication slots — check replication health
npx supabase inspect db replication-slots --linked

Dashboard Reports

The 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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides monitoring and observability tools for Supabase projects using the official CLI, SQL diagnostics, and log forwarding. It allows users to track database health, analyze query performance, and set up alerts. While the skill follows official practices, it handles external data such as logs and database statistics, which creates a minor surface for indirect instructions to be processed by the agent.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
What it can do
Reads files Edits files Runs commands
version
1.55.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "supabase",
  "monitoring",
  "observability"
]
All 6 allowed tools
ReadWriteEditBash(npx supabase:*)Bash(supabase:*)Grep
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/supabase-observability