From 5244f36adbb405bac19cfbbe480850493390b9cf Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Sun, 12 Nov 2023 20:44:50 +0000 Subject: [PATCH] prometheus: Add prometheus itself to monitoring --- roles/prometheus/templates/prometheus.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/prometheus/templates/prometheus.yml.j2 b/roles/prometheus/templates/prometheus.yml.j2 index b37ae83..546d999 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -5,6 +5,11 @@ global: evaluation_interval: 1m scrape_configs: + - job_name: prometheus + static_configs: + - targets: + - "127.0.0.1:9090" + - job_name: node scheme: https tls_config: