enable prometheus

This commit is contained in:
Motiejus Jakštys 2024-08-03 05:43:54 +03:00
parent e8c0e1812f
commit 180705c697
1 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ in
}; };
prometheus = { prometheus = {
enable = false; enable = true;
port = myData.ports.prometheus; port = myData.ports.prometheus;
retentionTime = "1y"; retentionTime = "1y";
@ -118,8 +118,8 @@ in
static_configs = [ { targets = [ "${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}:${port}" ]; } ]; static_configs = [ { targets = [ "${myData.hosts."vno3-rp3b.servers.jakst".jakstIP}:${port}" ]; } ];
} }
{ {
job_name = "fwminex.servers.jakst"; job_name = "vno1-oh2.servers.jakst";
static_configs = [ { targets = [ "${myData.hosts."fwminex.servers.jakst".jakstIP}:${port}" ]; } ]; static_configs = [ { targets = [ "${myData.hosts."vno1-oh2.servers.jakst".jakstIP}:${port}" ]; } ];
} }
{ {
job_name = "mtworx.motiejus.jakst"; job_name = "mtworx.motiejus.jakst";