blackbox-exporter: scrape every 60m, add URLs
All checks were successful
Flake checks / Check (pull_request) Successful in 24m13s

This commit is contained in:
teutat3s 2024-11-06 21:54:16 +01:00
parent a9c54dc496
commit 10cc5e914b
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -6,8 +6,20 @@
... ...
}: }:
let let
# TODO add hosts here blackboxTargets = [
blackboxTargets = [ "https://pablo.tools" ]; "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 in
{ {
age.secrets.alertmanager-envfile = { age.secrets.alertmanager-envfile = {
@ -82,7 +94,7 @@ in
scrapeConfigs = [ scrapeConfigs = [
{ {
job_name = "blackbox"; job_name = "blackbox";
scrape_interval = "5m"; scrape_interval = "60m";
metrics_path = "/probe"; metrics_path = "/probe";
params = { params = {
module = [ "http_2xx" ]; module = [ "http_2xx" ];