From 170eb1014c81c3ba5a19ec28cdd8255db797286f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 2 May 2022 17:48:12 -0700 Subject: [PATCH] Smush deluge into one job with separate labels for each target --- server/config/prometheus/prometheus.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/server/config/prometheus/prometheus.yml b/server/config/prometheus/prometheus.yml index ae4b967..9e8268f 100644 --- a/server/config/prometheus/prometheus.yml +++ b/server/config/prometheus/prometheus.yml @@ -71,30 +71,18 @@ scrape_configs: - targets: ['5e-jafner-tools:9117'] metrics_path: "/metrics" - - job_name: 'deluge_ggn' + - job_name: 'deluge' scrape_interval: 5s static_configs: - targets: ['192.168.1.21:53000'] labels: instance: 'ggn' - - - job_name: 'deluge_mam' - scrape_interval: 5s - static_configs: - targets: ['192.168.1.21:53100'] labels: instance: 'mam' - - - job_name: 'deluge_emp' - scrape_interval: 5s - static_configs: - targets: ['192.168.1.21:53200'] labels: instance: 'emp' - - - job_name: 'deluge_pub' - scrape_interval: 5s - static_configs: - targets: ['192.168.1.21:53300'] labels: instance: 'pub'