Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions monitoring/metrics.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Queries can be sent to the following endpoint:
https://api.fly.io/prometheus/<org-slug>/
```

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 <TOKEN>`), 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 <TOKEN>`), and you may only query series scoped to your organizations.

#### Manually

Expand All @@ -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
Expand Down