It's looks good, but I want to be able to manage Settings directly on 
alertManager instead of changing my alert rules   

在2020年11月21日星期六 UTC+8 下午9:52:05<[email protected]> 写道:

> A simple way is to use the hour() PromQL function, e.g. something like:
>
> up == 1 unless on() hour() < 9 or hour() > 17
>
> To alert about up jobs during “working hours” (for the sake of an example, 
> you should be able to graph this and see there’s no results outside those 
> hours).
>
> On Sat, 21 Nov 2020 at 13:41, Aleksandar Ilic <[email protected]> 
> wrote:
>
>> Hello everyone,
>>
>> I was wondering if there is any way to set an alert only to be triggered 
>> at a specific time of day.
>>
>> As I saw for alertmanager there is PR open on GitHub but wondering if 
>> there is any workaround for this or any other way.
>>
>> Best Regards
>>
>> -- 
>> 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/9bb0e0d1-488b-49b0-b005-878d736c5bden%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/9bb0e0d1-488b-49b0-b005-878d736c5bden%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/130e1a27-2507-4805-a985-4faf6bd20cd4n%40googlegroups.com.

Reply via email to