From 7c34b93bc776ce0e9d753dfe10b85477b5f995e2 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sun, 3 Apr 2022 16:11:28 -0700 Subject: [PATCH] Drastically increase Prometheus scrape rate --- server/config/prometheus/prometheus.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/server/config/prometheus/prometheus.yml b/server/config/prometheus/prometheus.yml index e2a7631..e3720d4 100644 --- a/server/config/prometheus/prometheus.yml +++ b/server/config/prometheus/prometheus.yml @@ -1,5 +1,5 @@ global: - scrape_interval: 15s + scrape_interval: 60s scrape_configs: - job_name: 'prometheus' @@ -8,19 +8,19 @@ scrape_configs: - targets: ['localhost:9090'] - job_name: '5e.jafner.tools' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['5e-jafner-tools:9117'] metrics_path: "/metrics" - job_name: 'pihole.jafner.net' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['pihole-jafner-net:9617'] metrics_path: "/metrics" - job_name: 'uptime-kuma' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['uptime.jafner.net'] basic_auth: @@ -28,36 +28,36 @@ scrape_configs: password: mHYBhPXqydeU4ThfRZDrLqfV6HK5JKvS - job_name: 'mc-monitor' - scrape_interval: 15s + scrape_interval: 5s static_configs: - targets: ['mc-monitor:8080'] - job_name: 'jafner.tools' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['143.110.151.123:9100'] - job_name: 'jafner.chat' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['143.110.157.109:9100'] - job_name: 'joey-seedbox' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['joey-seedbox.local:9100'] - job_name: 'joey-server' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['joey-server.local:9100'] - job_name: 'pihole' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['pihole.local:9100'] - job_name: 'tasmota' - scrape_interval: 60s + scrape_interval: 5s static_configs: - targets: ['tasmota-1','tasmota-2','tasmota-3']