From c68004f02e47ce27ac9924e82ed7b9330b8b1934 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 16 Apr 2023 16:01:45 +0200 Subject: [PATCH] hosts/monitoring-3: add hydra monitoring --- hosts/monitoring-3/prometheus.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/monitoring-3/prometheus.nix b/hosts/monitoring-3/prometheus.nix index 6218d87..5573fb6 100644 --- a/hosts/monitoring-3/prometheus.nix +++ b/hosts/monitoring-3/prometheus.nix @@ -301,6 +301,18 @@ in { relabelAddressToInstance ]; } + { + job_name = "hydra"; + scrape_interval = "20s"; + scheme = "https"; + static_configs = [ + { + targets = [ + "hydra.clerie.de" + ]; + } + ]; + } ]; alertmanagers = [ {