From b4659f8516cd5715ba98c5d25a0403759728dd15 Mon Sep 17 00:00:00 2001 From: Filippo Montani <78483736+Carnicero90@users.noreply.github.com> Date: Sun, 17 Nov 2024 10:27:42 +0100 Subject: [PATCH] Update prometheus api version since v1 aint working anymore --- prometheus/prometheus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 2a8f241..2e820aa 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -8,7 +8,7 @@ alerting: - targets: [] scheme: http timeout: 10s - api_version: v1 + api_version: v2 scrape_configs: - job_name: prometheus honor_timestamps: true @@ -27,4 +27,4 @@ scrape_configs: scheme: http static_configs: - targets: - - openswoole:9501 \ No newline at end of file + - openswoole:9501