mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-19 07:18:06 +02:00
Update prometheus.yml
bump alermanager api to v2 due to error: time=2024-11-17T05:52:03.562Z level=ERROR source=main.go:601 msg="Error loading config (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prometheus.yml err="parsing YAML file /etc/prometheus/prometheus.yml: expected Alertmanager api version to be one of [v2] but got v1" Signed-off-by: Anatoly Kolpakov <feroxsnake@me.com>
This commit is contained in:
parent
18f59bdb09
commit
90192cfbe3
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ alerting:
|
|||
- targets: []
|
||||
scheme: http
|
||||
timeout: 10s
|
||||
api_version: v1
|
||||
api_version: v2
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
honor_timestamps: true
|
||||
|
@ -18,4 +18,4 @@ scrape_configs:
|
|||
scheme: http
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost:9090
|
||||
- localhost:9090
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue