3
Metrics, Prometheus etc.
Source: supabase/supabase#13056 · opened by @Towerful
Hello,
I've been looking at the supabase/realtime codebase, and I see references to prometheus exporter and a /metrics endpoint as well as a jwt_metrics_secret env variable.
exposing the realtime's port 4000 in the docker compose file allows me to directly access the :4000/metrics and I receive unauthorized, which is expected.
I've tried setting the jwt_metrics_secret the same as the jwt_api_secret and using the service_role key in an authorization: Bearer <key> header, however I cannot seem to get it to work.
Any hints on this?
I'd love to add some realtime stats to my grafana dashboard
(interestingly there is also an /admin endpoint with DASHBOARD_USER and DASHBOARD_PASSWORD env vars, which looks like a holding page for whatever the embedded demo app is, which was a bit of a disappointment)
I've been looking at the supabase/realtime codebase, and I see references to prometheus exporter and a /metrics endpoint as well as a jwt_metrics_secret env variable.
exposing the realtime's port 4000 in the docker compose file allows me to directly access the :4000/metrics and I receive unauthorized, which is expected.
I've tried setting the jwt_metrics_secret the same as the jwt_api_secret and using the service_role key in an authorization: Bearer <key> header, however I cannot seem to get it to work.
Any hints on this?
I'd love to add some realtime stats to my grafana dashboard
(interestingly there is also an /admin endpoint with DASHBOARD_USER and DASHBOARD_PASSWORD env vars, which looks like a holding page for whatever the embedded demo app is, which was a bit of a disappointment)
No pledges yet. Be the first to back this.
Comments
Similar requests
Exposing Edge Function Metrics in the Prometheus-compatible Metrics Endpoint
10 votes · 0 comments
Add Grafana Alloy support as alternative to deprecated Grafana Agent
1 vote · 0 comments
Add a scoped, read-only metrics / monitoring API key (alternative to service_role)
7 votes · 0 comments
Add performance metrics
1 vote · 0 comments
Feature request: Current Realtime connections in Prometheus endpoint
2 votes · 0 comments
No comments yet.