I have triple checked my org slug and token but always get:
something went wrong resolving organization
error
curl -X POST “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”
Trying to set up on grafana cloud and getting 401 and debugging with curl
token seems to be valid
❯ fly tokens debug $TOKEN
[
{
"location": "https://api.fly.io/v1",
"caveats": [
{
"type": "Organization",
"body": {
"id": 910942,
"mask": "rwcdC"
}
},
{
"type": "3P",
"body": {
"Location": "https://api.fly.io/aaa/v1",
...