You always want "one" alertmanager (usually in a cluster of 2 or more). The
alertmanager is meant to be a single clearing house per organization. A
place where you can see, silence, and route all alerts.

This is a separate concern from where you _generate_ alerts.

In a multi-Prometheus environment, the best practice is to generate alerts
as close to the data as possible.
* If the data you have is in Prometheus, run the alert rules in Prometheus
and have it generate alerts.
* If the data you have is cross-Prometheus in and only in Thanos, run the
alert rules in Thanos Rule.

On Fri, Aug 28, 2020 at 9:20 AM George <[email protected]> wrote:

> Hi all
>
> Having looked around, Mostly Thanos web site. Please confirm my
> understanding.
>
> In a multi Prometheus server environment, with Thanos deployed for
> federation.
>
> *Option #1*
> I have a single Alert Manager... the Alert manager is then configured/told
> about every Prometheus server (data store) in my environment,
>
> *Option #2*
> Configure the Alertmanager with a Thanus Ruler + Query (module) which then
> virtualizes the entire prometheus stack (aka I hide my prometheus servers
> behind Thanos Rules/Query).
>
> Comment
>
> G
>
> --
> You have the obligation to inform one honestly of the risk, and as a person
> you are committed to educate yourself to the total risk in any activity!
>
> Once informed & totally aware of the risk,
> every fool has the right to kill or injure themselves as they see fit!
>
> --
> 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/CALw5UjsRzceN0o%3D8EBCP1R1gscj3OrntJoJCuApZw_LkEFuuzw%40mail.gmail.com
> <https://groups.google.com/d/msgid/prometheus-users/CALw5UjsRzceN0o%3D8EBCP1R1gscj3OrntJoJCuApZw_LkEFuuzw%40mail.gmail.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/CABbyFmqXApYAuh8f-%3DaQAOo1UOBvA%3D5Ox_1pd6-oGp_YZJv0ig%40mail.gmail.com.

Reply via email to