From d0b405fb150f41c3394ba1ed5fb8389ddca67a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 8 Sep 2023 13:11:23 +0200 Subject: [PATCH] fix(prometheus): do not fail bc of secrets --- systems/makanek/monitoring/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/makanek/monitoring/default.nix b/systems/makanek/monitoring/default.nix index 8d76800..7743dfa 100644 --- a/systems/makanek/monitoring/default.nix +++ b/systems/makanek/monitoring/default.nix @@ -263,6 +263,9 @@ in { } ]; + # otherwise bearer_token_file will fail + services.prometheus.checkConfig = "syntax-only"; + services.prometheus.scrapeConfigs = [ { job_name = "makanek";