prometheus add exporter for gitlab

This commit is contained in:
Clément Desvaux 2023-03-21 16:19:50 +01:00
parent e56f6d23f3
commit d163d219ba

View File

@ -427,7 +427,7 @@ scrape_configs:
{% endif %} {% endif %}
{% if prometheus_gitlab_exporter_targets is defined %} {% if prometheus_gitlab_exporter_targets is defined %}
# gitlab # # gitlab #
- job_name: gitlab-nginx - job_name: gitlab-nginx
static_configs: static_configs:
- targets: - targets:
{% for target in prometheus_gitlab_exporter_targets %} {% for target in prometheus_gitlab_exporter_targets %}