ping exporter: remove 127.0.0.1

This commit is contained in:
Motiejus Jakštys 2024-09-16 15:30:22 +03:00
parent 8df4f79f0a
commit 7690758032

View File

@ -362,11 +362,7 @@ in
replacement = "${hostname}:${port}";
target_label = "instance";
}) hosts;
static_configs = [
{
targets = [ "127.0.0.1:${port}" ] ++ map (host: "${myData.hosts.${host}.jakstIP}:${port}") hosts;
}
];
static_configs = [ { targets = map (host: "${myData.hosts.${host}.jakstIP}:${port}") hosts; } ];
}
)
{