From 10cc5e914b01c010937d70456a135c9237823672 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 6 Nov 2024 21:54:16 +0100 Subject: [PATCH] blackbox-exporter: scrape every 60m, add URLs --- modules/prometheus/default.nix | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/modules/prometheus/default.nix b/modules/prometheus/default.nix index 6e1b517..c2abc98 100644 --- a/modules/prometheus/default.nix +++ b/modules/prometheus/default.nix @@ -6,8 +6,20 @@ ... }: let - # TODO add hosts here - blackboxTargets = [ "https://pablo.tools" ]; + blackboxTargets = [ + "https://pub.solar" + "https://chat.pub.solar" + "https://cloud.pub.solar" + "https://collabora.pub.solar" + "https://git.pub.solar" + "https://grafana.pub.solar" + "https://list.pub.solar" + "https://mastodon.pub.solar" + "https://obs-portal.pub.solar" + "https://stream.pub.solar" + "https://wiki.pub.solar" + "https://www.pub.solar" + ]; in { age.secrets.alertmanager-envfile = { @@ -82,7 +94,7 @@ in scrapeConfigs = [ { job_name = "blackbox"; - scrape_interval = "5m"; + scrape_interval = "60m"; metrics_path = "/probe"; params = { module = [ "http_2xx" ];