From 3096d6063eb19555e46d7e0dbe02781c1d5d10e6 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sat, 27 Aug 2022 23:00:31 -0700 Subject: [PATCH] Add prometheus self-monitoring --- server/config/monitoring/prometheus.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/config/monitoring/prometheus.yml b/server/config/monitoring/prometheus.yml index 062baf4..5658e03 100644 --- a/server/config/monitoring/prometheus.yml +++ b/server/config/monitoring/prometheus.yml @@ -25,6 +25,11 @@ scrape_configs: - targets: ['192.168.1.22:9100'] # scrape applications + - job_name: 'prometheus-self' + scrape_interval: 5s + static_configs: + - targets: ['localhost:9090'] + - job_name: 'traefik' scrape_interval: 5s static_configs: