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 be56e6b9e9 - Show all commits

View file

@ -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;