Hi,
I'm try to write this simple code for Prometheus
but I don't understand how can I include also minutes... with a valide 
range of hour.

Alert could firing only between: *08:30 AM to all 09:00 P.M*.

Here below the hours are in CET (+2 from Italy where I'm)

(count by (exported_instance, counter_instance) 
(database_status{job="aaaa", exported_instance="myserver", 
status!="ONLINE"})
and on() hour() >= 6 <= 19
*......... miss minute .......*
) or vector(0)

Thanks Alen

-- 
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/a5f2b90c-c96b-4b34-8dc6-60d97c42a917n%40googlegroups.com.

Reply via email to