Metrics, Prometheus etc. #13056
Unanswered
Towerful
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I've been looking at the
supabase/realtimecodebase, and I see references to prometheus exporter and a/metricsendpoint as well as ajwt_metrics_secretenv variable.exposing the realtime's port 4000 in the docker compose file allows me to directly access the
:4000/metricsand I receive unauthorized, which is expected.I've tried setting the
jwt_metrics_secretthe same as thejwt_api_secretand using theservice_rolekey in anauthorization: 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
/adminendpoint withDASHBOARD_USERandDASHBOARD_PASSWORDenv vars, which looks like a holding page for whatever the embedded demo app is, which was a bit of a disappointment)All reactions