WIP: add grafana & victoriametrics

This commit is contained in:
jeltz 2025-03-27 18:35:57 +01:00
parent a8e3c97ef4
commit a184d18f4b
Signed by: jeltz
GPG key ID: 800882B66C0C3326
6 changed files with 159 additions and 1 deletions

View file

@ -170,7 +170,7 @@ in
};
martagon = { name, nodes, ... }: {
deployment.tags = [ "prometheus" ];
deployment.tags = [ "victoria" "grafana" ];
deployment.targetHost = "martagon.federez.net";
federez.monitoring.apiKey = "370a181d-6b00-4c3d-af27-ca65e6e4c1b0";
networking.hostName = name;
@ -182,6 +182,8 @@ in
imports = [
./profiles/vm.nix
./profiles/victoria.nix
./profiles/grafana.nix
];
};
}