WIP: add grafana & victoriametrics
This commit is contained in:
parent
a8e3c97ef4
commit
a184d18f4b
6 changed files with 159 additions and 1 deletions
4
hive.nix
4
hive.nix
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue