synapse: also generate metric config for the master node

This commit is contained in:
Daniel Olsen 2023-01-18 04:04:42 +01:00
parent c8d26e3c81
commit 90e924c083
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ in {
(lib.mapAttrsToList (_: v: v)) (lib.mapAttrsToList (_: v: v))
(map (w: "${w.type}/${toString w.index}")) (map (w: "${w.type}/${toString w.index}"))
(map (w: "matrix.pvv.ntnu.no/metrics/${w}")) (map (w: "matrix.pvv.ntnu.no/metrics/${w}"))
]; ] ++ [ "matrix.pvv.ntnu.no/metrics/master/1" ];
in { in {
alias = pkgs.writeTextDir "/config.json" alias = pkgs.writeTextDir "/config.json"
(builtins.toJSON [ (builtins.toJSON [