add ping exporter

This commit is contained in:
Motiejus Jakštys 2024-09-15 15:01:14 +03:00
parent 68b0319fd5
commit 97f2a41960

View File

@ -342,6 +342,18 @@ in
evaluation_interval = "1m";
};
exporters.ping = {
enable = true;
settings = {
targets = [
"1.1.1.1"
"fra1-b.jakstys.lt"
myData.hosts."fra1-b".jakstIP
];
};
};
scrapeConfigs =
let
port = builtins.toString myData.ports.exporters.node;