Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not finding alerts when querying grafana api #36

Open
santinoncs opened this issue Aug 4, 2022 · 0 comments
Open

Not finding alerts when querying grafana api #36

santinoncs opened this issue Aug 4, 2022 · 0 comments

Comments

@santinoncs
Copy link

I am seeing in the logs

.. backstage info ::1 - - [04/Aug/2022:10:23:04 +0000] "GET /api/proxy/grafana/api/api/alerts?dashboardTag=test-deployment-helm HTTP/1.1" 404 23 "-" "M...

but when I query directly it works

curl -s  "https://grafana.NNNN/api/alerts?dashboardTag=test-deployment-helm" -H 'Authorization: Bearer xxx' | jq .
[
  {
    "id": 143,
    "dashboardId": 216,
....
  }
]

my app-config looks like this

  '/grafana/api':
    target: https://grafana.NNNN/
    headers:
      Authorization: Bearer xxx

Don't know why..thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant