Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upserver returned HTTP status 401 Unauthorized #2954
Comments
This comment has been minimized.
This comment has been minimized.
|
when I use grafana api key to visit "http://172.32.1.9:3000/api/metrics" url, it will be ok. for example: So the problem is how to add a grafana api key in prometheus.yml ? @brian-brazil |
This comment has been minimized.
This comment has been minimized.
|
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Jul 19, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
ghost commentedJul 17, 2017
•
edited by ghost
What did you do?
Run Prometheus on k8s
What did you expect to see?
Prometheus could tell me the endpoint status
What did you see instead? Under which circumstances?
Prometheus reported error "server returned HTTP status 401 Unauthorized"
Environment
System information:
Linux 3.10.0-514.21.2.el7.x86_64 x86_64
Prometheus version:
docker.io/prom/prometheus latest 4da113bb6ae3
Alertmanager version:
docker.io/prom/alertmanager latest 822973257511
Prometheus configuration file: