On Thu, 18 Jun 2020 at 10:00, Alex Seaton <[email protected]> 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].
> 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/CAHJKeLp0djb%3Da02gatNoiHpP9CeR7N-OBgyba9t%2B%3DMTg-NqW8A%40mail.gmail.com.

Reply via email to