Hi, I have a problem with absent hours in prometheus:
hour(v=vector(time()) instant-vector) returns the hour of the day for each of the given times in UTC. Returned values are from 0 to 23. minute(v=vector(time()) instant-vector) returns the minute of the hour for each of the given times in UTC. Returned values are from 0 to 59. my machine wakes up around 06.07 every day, but I have silence between 20 and 6, and the alert fires first thing in the morning. is there any option to silence alert till 06.15? When I'll use absent minutes it will silence this alert every hour for 15 minutes. AND ON() absent(hour() >= 0 <= 4) AND ON() absent(hour() >= 12 <= 23) AND ON() absent(day_of_week() == 6) AND ON() absent(day_of_week() == 0) Can i combine somehow absent hour and minute to get the desired effect? Thanks for all replies! -- 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/5b31bb00-ff1c-4dea-a440-0acb33bce52cn%40googlegroups.com.

