From e053721f29f2967f6cc8d004b6f52a91c4ebcb70 Mon Sep 17 00:00:00 2001 From: Kristian Klausen <kristian@klausen.dk> Date: Sat, 5 Jun 2021 03:49:47 +0200 Subject: [PATCH] prometheus: Scrap Hedgedoc (md.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 50bdc3d6b..1b85b035a 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -119,6 +119,13 @@ scrape_configs: {% endfor %} + - job_name: hedgedoc + scheme: https + authorization: + credentials: {{ vault_hedgedoc_metrics_token }} + static_configs: + - targets: ['md.archlinux.org:443'] + {% for module in blackbox_targets.keys() %} - job_name: 'blackbox_{{ module }}' metrics_path: /probe -- GitLab