Thanks very much for the reply Brian! What would the consequences of only 
sending alerts a single time be?

On Thursday, 18 June 2020 10:06:19 UTC+1, Brian Brazil wrote:
>
> On Thu, 18 Jun 2020 at 10:00, Alex Seaton <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>>
>> The docs here https://prometheus.io/docs/alerting/latest/clients/ state 
>> that:
>>
>> "Clients are expected to continuously re-send alerts as long as they are 
>> still active (usually on the order of 30 seconds to 3 minutes)"
>>
>> - Is this accurate? Using the POST /v1/alerts endpoint I tried creating 
>> an alert with a single request. It was created successfully and did not 
>> close.
>>
>
> Yes.
>  
>
>> - If it is accurate, what does it mean? How frequently is 'continuously'?
>> - How was the 30 seconds to 3 minutes interval arrived at? How is it 
>> configured?
>>
>
> That's a guideline, I'd not go any longer than about a minute as otherwise 
> you'll have issues when the Alertmanager restarts.
>  
>
>> - How does this statement in the docs interact with the "endsAt" field in 
>> the payload?
>>
>
> You should ensure that the next send happens before endsAt.
>
> Brian
>
>
>> Thanks,
>>
>> Alex Seaton
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/4d6760ae-12b5-48fe-9f2a-cfd5065f1458o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/4d6760ae-12b5-48fe-9f2a-cfd5065f1458o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Brian Brazil
> www.robustperception.io
>

-- 
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/372ef6a1-aee9-4610-934d-c04f6767f0fdo%40googlegroups.com.

Reply via email to