Add prometheus #118
1 changed files with 5 additions and 2 deletions
|
@ -52,7 +52,10 @@ 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;
|
||||
|
@ -60,8 +63,8 @@ in {
|
|||
|
||||
port = 9001;
|
||||
};
|
||||
};
|
||||
|
||||
services.skynet.prometheus.servers = lib.attrsets.mapAttrsToList (server: server.name) nodes;
|
||||
|
||||
services.skynet.grafana = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue