ping exporter: remove 127.0.0.1
This commit is contained in:
parent
8df4f79f0a
commit
7690758032
@ -362,11 +362,7 @@ in
|
|||||||
replacement = "${hostname}:${port}";
|
replacement = "${hostname}:${port}";
|
||||||
target_label = "instance";
|
target_label = "instance";
|
||||||
}) hosts;
|
}) hosts;
|
||||||
static_configs = [
|
static_configs = [ { targets = map (host: "${myData.hosts.${host}.jakstIP}:${port}") hosts; } ];
|
||||||
{
|
|
||||||
targets = [ "127.0.0.1:${port}" ] ++ map (host: "${myData.hosts.${host}.jakstIP}:${port}") hosts;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user