prometheus add exporter for gitlab

This commit is contained in:
Clément Desvaux 2023-03-21 16:58:06 +01:00
parent 48d997e883
commit fa64c3275d

View File

@ -453,11 +453,10 @@ scrape_configs:
{% endfor %} {% endfor %}
- job_name: gitlab-rails - job_name: gitlab-rails
metrics_path: "/-/metrics" metrics_path: "/-/metrics"
scheme: https
static_configs: static_configs:
- targets: - targets:
{% for target in prometheus_gitlab_exporter_targets %} {% for target in prometheus_gitlab_exporter_targets %}
- {{ target }}:8443 - {{ target }}:8880
{% endfor %} {% endfor %}
- job_name: gitlab-sidekiq - job_name: gitlab-sidekiq
static_configs: static_configs: