Add prometheus #118

Merged
esy merged 27 commits from prometheus2 into main 2024-05-23 21:52:10 +00:00
Showing only changes of commit 82305d43ff - Show all commits

View file

@ -53,19 +53,18 @@ in {
}; };
services.skynet.prometheus = { services.skynet.prometheus = {
servers = lib.attrsets.mapAttrsToList (server: server.name) nodes; servers = lib.attrsets.mapAttrsToList (server: server.name) nodes;
server = { server = {
host = { host = {
ip = ip_pub; ip = ip_pub;
name = name; name = name;
}; };
port = 9001; port = 9001;
}; };
}; };
services.skynet.grafana = { services.skynet.grafana = {
enable = true; enable = true;