synapse: also generate metric config for the master node
This commit is contained in:
parent
c8d26e3c81
commit
90e924c083
|
@ -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 [
|
||||||
|
|
Loading…
Reference in New Issue