mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
docs: improve metrics endpoint docs (#36594)
This commit is contained in:
1 parent
8c8110a34c
commit
a7b0cbef7d
1 file changed
+10
-2
@@ -22,10 +22,18 @@ The endpoint discussed in this article is not available on self-hosted.
|
||||
|
||||
## Accessing the metrics endpoint
|
||||
|
||||
Your project's metrics endpoint is accessible at `https://<project-ref>.supabase.co/customer/v1/privileged/metrics`. Access to the endpoint is secured via HTTP Basic Auth; the username is `service_role`, while the password is the service role JWT available through the Supabase dashboard.
|
||||
Your project's metrics endpoint is accessible at `https://<project-ref>.supabase.co/customer/v1/privileged/metrics`.
|
||||
|
||||
Access to the endpoint is secured via HTTP Basic Auth:
|
||||
|
||||
- username: `service_role`
|
||||
- password: the service role JWT from the [Supabase dashboard](https://supabase.com/dashboard/project/_/settings/api-keys)
|
||||
|
||||
<ProjectConfigVariables variable="url" />
|
||||
|
||||
```shell
|
||||
> curl https://<project-ref>.supabase.co/customer/v1/privileged/metrics --user 'service_role:<service-role-jwt>'
|
||||
curl <project-url>/customer/v1/privileged/metrics \
|
||||
--user 'service_role:<service-role-jwt>'
|
||||
```
|
||||
|
||||
## Supabase Grafana
|
||||
|
||||
Reference in new issue
Block a user