Thanks Julien On Thursday, March 5, 2020 at 1:31:51 AM UTC+5:30, Aditya Nageswar wrote: > > 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)) > > This gave result as, > [image: image] > <https://user-images.githubusercontent.com/30234760/75909044-4e86e480-5e71-11ea-9cd2-6a271f10fff1.png> > > 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 >
-- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/40742195-2dfa-4028-bdee-fa042b486f95%40googlegroups.com.

