FeatureFuel
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)

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests