Skip to content
Supabase Database Changelog·

Supabase Advisors Add Service Health Checks

Health Check Advisors

Key Takeaway

Supabase Advisors now monitor service health, starting with log-based error-rate checks for PostgREST, Auth, Storage, and Edge Functions. Results appear in the Health tab in Studio and are returned by the Management API, with caching to avoid repeated probing.

Why It Matters

Elevated service error rates can trigger automated investigation and identify which service to inspect, while logs or connection statistics can help pinpoint the cause.

Technical Breakdown · Distilled from the original source

Identify elevated error rates by service

  • The initial release reads error rates from logs and provides one check per service. log_data_api_error_rate_high flags elevated PostgREST 5xx rates. log_auth_error_rate_high, log_storage_error_rate_high, and log_edge_function_error_rate_high flag elevated error rates for Auth, Storage, and Edge Functions, respectively.
  • An elevated result identifies the service to investigate rather than the cause of the error. Automated workflows can use that result to inspect logs, query connection statistics, or trigger their own deeper checks.

Distinguish a clean result from an unchecked service

  • An empty result means all checks ran and found no issues. advisor_check_unavailable means a check could not run, so it should not be interpreted as a pass.
  • In Studio, Advisors → Health appears above Security. Each result links directly to the relevant logs, connection statistics, or infrastructure view.

Retrieve results through the Management API

  • POST /v2/projects/{ref}/advisors/run uses bearer-token authentication and returns health results alongside security and performance advisor results. Results are cached to avoid repeated probing.
  • The current health checks cover service error rates. Database connectivity probes and instance health checks are still on the roadmap, so an empty result does not establish database connectivity or instance health.
Source: Supabase Database Changelog· supabase.com

PG Radar summarizes verified changes and impact. Read the original post for full technical details and code samples.

Read Official Source

Related PostgreSQL Reference