1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 07:18:06 +02:00

Update prometheus.yml to api_version: v2

Resolved error at runtime expecting v2 but getting v1

Signed-off-by: scrypt-kitty <deadpixelette+github@gmail.com>
This commit is contained in:
scrypt-kitty 2025-02-13 14:21:35 -05:00 committed by GitHub
parent 18f59bdb09
commit ef87254b0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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