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 upExpression browser doesn't handle empty responses well. #3515
Comments
noony
changed the title
Rules and dates functions are not working
Queries with dates functions are not working
Nov 27, 2017
noony
changed the title
Queries with dates functions are not working
Queries with date functions are not working
Nov 27, 2017
brian-brazil
added
component/ui
help wanted
kind/bug
priority/P3
labels
Nov 27, 2017
This comment has been minimized.
This comment has been minimized.
|
That's a bug in the graph code, but the empty response is correct. |
brian-brazil
changed the title
Queries with date functions are not working
Expression browser doesn't handle empty responses well.
Nov 27, 2017
zemek
referenced this issue
Nov 28, 2017
Closed
Prometheus /graph UI loading spinner spins forever if result is null #3519
roidelapluie
referenced this issue
Nov 29, 2017
Merged
Correctly handle empty data set in the console view #3521
This comment has been minimized.
This comment has been minimized.
|
Fix proposed in #3521 |
roidelapluie
added a commit
to roidelapluie/prometheus
that referenced
this issue
Nov 30, 2017
brian-brazil
closed this
in
#3521
Nov 30, 2017
brian-brazil
added a commit
that referenced
this issue
Nov 30, 2017
brian-brazil
referenced this issue
Dec 20, 2017
Closed
Logical operation query return null when comes two empty vectors in prometheus 2.0 #3603
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.
noony commentedNov 27, 2017
What did you do?
I'm testing rules before integration in alert manager .rules.yml. So I'm running this querying on prometheus with and hour.
What did you expect to see?
the list of targets with up == 1 because there is targets with up == 1 and hour() is > to 1
What did you see instead? Under which circumstances?
Javascript error in console :
Json return by the query string
/api/v1/query?query=(hour()%20>%3D%20bool%201)%20and%20on%20(instance)%20(up%20%3D%3D%201)&time=1511781829.405&_=1511781184970Environment
System information:
Linux 4.4.0-96-generic x86_64
Prometheus version: