Reorganise prometheus/marvin config
This commit is contained in:
parent
cf600e2dc1
commit
be56e6b9e9
1 changed files with 5 additions and 2 deletions
|
@ -52,16 +52,19 @@ in {
|
|||
sudo_groups = groups;
|
||||
};
|
||||
|
||||
services.skynet.prometheus.server = {
|
||||
services.skynet.prometheus = {
|
||||
servers = lib.attrsets.mapAttrsToList (server: server.name) nodes;
|
||||
|
||||
server = {
|
||||
host = {
|
||||
ip = ip_pub;
|
||||
name = name;
|
||||
};
|
||||
|
||||
port = 9001;
|
||||
};
|
||||
};
|
||||
|
||||
services.skynet.prometheus.servers = lib.attrsets.mapAttrsToList (server: server.name) nodes;
|
||||
|
||||
services.skynet.grafana = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue