Updated README for Prometheus 2.x (#1134)
This commit is contained in:
parent
6bab629590
commit
7d795d8c03
17
README.md
17
README.md
|
@ -309,13 +309,18 @@ Procfile within this repository.
|
||||||
|
|
||||||
goreman start
|
goreman start
|
||||||
|
|
||||||
To point your prometheus instance to multiple Alertmanagers use the
|
To point your Prometheus 1.4, or later, instance to multiple Alertmanagers, configure them
|
||||||
`-alertmanager.url` parameter. It allows passing in a comma separated list.
|
in your `prometheus.yml` configuration file, for example:
|
||||||
Start your prometheus like this, for example:
|
|
||||||
|
|
||||||
./prometheus -config.file=prometheus.yml -alertmanager.url http://localhost:9095,http://localhost:9094,http://localhost:9093
|
```yaml
|
||||||
|
alerting:
|
||||||
> Note: make sure to have a valid `prometheus.yml` in your current directory
|
alertmanagers:
|
||||||
|
- static_configs:
|
||||||
|
- targets:
|
||||||
|
- alertmanager1:9093
|
||||||
|
- alertmanager2:9093
|
||||||
|
- alertmanager3:9093
|
||||||
|
```
|
||||||
|
|
||||||
> Important: Do not load balance traffic between Prometheus and its Alertmanagers, but instead point Prometheus to a list of all Alertmanagers. The Alertmanager implementation expects all alerts to be sent to all Alertmanagers to ensure high availability.
|
> Important: Do not load balance traffic between Prometheus and its Alertmanagers, but instead point Prometheus to a list of all Alertmanagers. The Alertmanager implementation expects all alerts to be sent to all Alertmanagers to ensure high availability.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue