From 8bfaa174d62672fbc3968022277fbe905983dc13 Mon Sep 17 00:00:00 2001 From: Kristian Klausen <kristian@klausen.dk> Date: Sat, 5 Jun 2021 03:50:03 +0200 Subject: [PATCH] prometheus: Scrap Grafana ({monitoring,dashboards}.archlinux.org) --- roles/prometheus/templates/prometheus.yml.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/prometheus/templates/prometheus.yml.j2 b/roles/prometheus/templates/prometheus.yml.j2 index 1b85b035a..43473ca02 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -126,6 +126,13 @@ scrape_configs: static_configs: - targets: ['md.archlinux.org:443'] + - job_name: grafana + scheme: https + authorization: + credentials: {{ vault_grafana_metrics_token }} + static_configs: + - targets: ['monitoring.archlinux.org:443', 'dashboards.archlinux.org:443'] + {% for module in blackbox_targets.keys() %} - job_name: 'blackbox_{{ module }}' metrics_path: /probe -- GitLab