diff --git a/monitoring/metrics.html.md b/monitoring/metrics.html.md index ca2ad50d00..6071387b4b 100644 --- a/monitoring/metrics.html.md +++ b/monitoring/metrics.html.md @@ -60,7 +60,7 @@ Queries can be sent to the following endpoint: https://api.fly.io/prometheus// ``` -You'll need to authenticate with a Fly Access Token sent in the [standard](https://www.rfc-editor.org/rfc/rfc6750.html) Bearer Token format (e.g., an HTTP request header `Authorization: Bearer `), and you may only query series scoped to your organizations. +You'll need to authenticate with a Fly Access Token sent in the [standard](https://www.rfc-editor.org/rfc/rfc6750.html) Bearer Token format (e.g., an HTTP request header `Authorization: FlyV1 `), and you may only query series scoped to your organizations. #### Manually @@ -84,7 +84,7 @@ TOKEN=$(flyctl auth token) ```shell curl https://api.fly.io/prometheus/$ORG_SLUG/api/v1/query \ --data-urlencode 'query=sum(increase(fly_edge_http_responses_count)) by (app, status)' \ - -H "Authorization: Bearer $TOKEN" + -H "Authorization: FlyV1 $TOKEN" ``` ## Dashboards