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 up/graph returns 503 but /-/healthy returns 200 #4624
Comments
simonpasquier
added
the
component/ui
label
Sep 17, 2018
This comment has been minimized.
This comment has been minimized.
|
Probably Lines 370 to 380 in f2d43af Looking at the code, /-/healthy endpoint always returns 200.
EDIT: the initial version mentioned |
simonpasquier
added
the
kind/more-info-needed
label
Sep 17, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
sevagh
commented
Sep 27, 2018
•
|
Just adding my two cents here. the Starting
It's only at |
This comment has been minimized.
This comment has been minimized.
|
@sevagh in your case, |
This comment has been minimized.
This comment has been minimized.
Starefossen
commented
Oct 23, 2018
•
|
Same issue here using Promethues v2.4.3;
|
This comment has been minimized.
This comment has been minimized.
shamimgeek
commented
Dec 14, 2018
|
@ALL: i am also hitting this error /-/healthy endpoint returns. Prometheus is Healthy. but /-ready/ endpoint returns Service Unavailable. But there is no error reported. What is the issue ? how can i solve this ? |
This comment has been minimized.
This comment has been minimized.
|
@shamimgeek can you share the logs? If your Prometheus isn't ready, it means that it is still in the initialization phase (usually checking the TSDB). |
This comment has been minimized.
This comment has been minimized.
frateralexander
commented
Mar 29, 2019
•
|
Hi Dears I have this error when a try to remove a line in my ../node_exporter/nodes.json and restart my service curl -v localhost:9090/graph I don't try -/healthy |
geekdave commentedSep 17, 2018
Bug Report
What did you do?
I started up a new Prometheus server, and copied over snapshot data from an old server. It ran fine for about a day, and then started crashlooping with:
I understand that I probably did something wrong, procedure-wise, with how I copied historical snapshot data into an existing Prometheus server. I started a thread on the mailing list for this, and would be grateful for any advice about how to avoid this in the future.
This issue is about something different though. The above crashloop is causing the Prometheus /graph route to be unavailable:
Yet the Prometheus health check endpoint returns "healthy":
What did you expect to see?
Health check fail if Prometheus /graph endpoint returns 503
What did you see instead? Under which circumstances?
Health check returned 200
Environment
N/A
N/A
N/A
See above