From c4d943196e8e9494b7cb6d6dc9e91243de3f0c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Desvaux?= Date: Tue, 21 Mar 2023 17:19:26 +0100 Subject: [PATCH] prometheus add exporter for gitlab --- templates/conf/prometheus.yml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/conf/prometheus.yml.j2 b/templates/conf/prometheus.yml.j2 index bb9b69c..55032a5 100644 --- a/templates/conf/prometheus.yml.j2 +++ b/templates/conf/prometheus.yml.j2 @@ -432,6 +432,12 @@ scrape_configs: - targets: {% for target in prometheus_gitlab_exporter_targets %} - {{ target }}:8060 +{% endfor %} + - job_name: gitlab-node + static_configs: + - targets: +{% for target in prometheus_gitlab_exporter_targets %} + - {{ target }}:9101 {% endfor %} - job_name: gitlab-redis static_configs: