new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Supabase · all subjects

out of scope - monitoring & observability

8 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Log drains for external log providers

Supabase log drains allow you to export Supabase logs to third-party providers and external tooling.

Prometheus scrape endpoint for Supabase metrics

Prometheus scrapes Supabase metrics from https://<project-ref>.supabase.co/customer/v1/privileged/metrics using HTTP Basic Auth. The scrape interval should be kept at 60 seconds to match Supabase's refresh cadence.

Prometheus configuration for Supabase

The Prometheus scrape job configuration for Supabase requires: job_name 'supabase', scrape_interval of 60s, metrics_path '/customer/v1/privileged/metrics', scheme 'https', basic_auth with username and password (Secret API key starting with 'sb_secret_...'), and static_configs targeting '<project-ref>.supabase.co:443' with label 'project: <project-ref>'.

Grafana Prometheus data source configuration

In Grafana, add a Prometheus data source by going to Connections → Data sources → Add data source, selecting Prometheus, and setting the URL to the Prometheus endpoint (for example http://prometheus:9090).

Supabase Grafana dashboard import

Import the Supabase Grafana dashboard by going to Dashboards → New → Import and pasting the contents from https://raw.githubusercontent.com/supabase/supabase-grafana/refs/heads/main/grafana/dashboard.json. Select the Prometheus datasource when prompted. The dashboard includes over 200 production-ready panels covering CPU, IO, WAL, replication, index bloat, and query throughput.

Supabase alerting configuration guidance

Import sample alert rules from https://github.com/supabase/supabase-grafana/blob/main/docs/example-alerts.md into Prometheus or Grafana Alerting. Tailor thresholds such as disk utilization, long-running transactions, and connection saturation to your project's size. Route notifications via Alertmanager, Grafana OnCall, PagerDuty, or other supported destinations.

Multiple projects monitoring with Prometheus

To monitor multiple Supabase projects, add one scrape job per project ref so you can separate metrics and labels cleanly.

Grafana Cloud integration alternative

For most use cases, the Grafana Cloud integration is available in the Supabase Dashboard as an alternative to self-hosting Prometheus and Grafana manually.

Give your agent this brain