What happened?
Cannot merge queries for time based functions
To Filter from 1:00 to 18:30, used the below query
(vector(1) and ((hour() >= 01) and ((hour() <= 18) and (minute() <= 30 )) )) or (vector(0))
Did you expect to see something different?
The query should be giving vector 1 from 1:00 to 18:30, Instead Filters time for every 30 mins,
As an alternative tried the below query which doesn`t help,
(vector(1) and ((hour() >= 01) and (hour() <= 18.5) )) or (vector(0))
Environment
Kubernetes Version: 1.11.6
Prometheus Version: 2.4.3