@cryptotaxi247 / infra / commits / 0c12ea7d

titan/zrepl: move monitoring under global config section

zrepl failed to start because the prometheus monitoring block was placed at the top level of the config, but zrepl expects it under global.

Jörg Thalheim committed Apr 13, 2026 at 08:38 UTC 0c12ea7d0214158e751db9ce632e746207091f7d
1 file changed +8 -8
build/titan/zrepl.nix
+8 -8
@@ -107,15 +107,15 @@ in
107 format = "human";
108 }
109 ];
110 - };
110
112 - # https://zrepl.github.io/configuration/monitoring.html
113 - monitoring = [
114 - {
115 - type = "prometheus";
116 - listen = ":${toString metricsPort}";
117 - }
118 - ];
111 + # https://zrepl.github.io/configuration/monitoring.html
112 + monitoring = [
113 + {
114 + type = "prometheus";
115 + listen = ":${toString metricsPort}";
116 + }
117 + ];
118 + };
119
120 jobs = [
121 # Covers 20240629+