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 upPrometheus /graph UI loading spinner spins forever if result is null #3519
Comments
This comment has been minimized.
This comment has been minimized.
|
dupe of #3515 |
zemek
closed this
Nov 28, 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. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
zemek commentedNov 28, 2017
•
edited
Using prometheus 2.0, if you go to
/graphand graphnonexistant_metric == 0 or absent(up)the UI spinner keeps spinning forever and it looks like the query never finishesHowever, if you run the query manually using curl, you do get back
{"status":"success","data":{"resultType":"vector","result":null}}If you just graph
nonexistant_metric == 0you get back{"status":"success","data":{"resultType":"vector","result":[]}}and the query returns immediately through the UI
It seems that the UI doesn't handle
result: nullcorrectly