clanServices/prometheus: fix IPv6 address brackets
This commit is contained in:
parent
20b4d300ee
commit
53b1264c44
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
targetHost = targetConfig.clan.core.vars.generators.zerotier.files.zerotier-ip.value;
|
targetHost = targetConfig.clan.core.vars.generators.zerotier.files.zerotier-ip.value;
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"${targetHost}:${toString targetConfig.services.prometheus.exporters.${exporter}.port}"
|
"[${targetHost}]:${toString targetConfig.services.prometheus.exporters.${exporter}.port}"
|
||||||
];
|
];
|
||||||
labels.instance = machineName;
|
labels.instance = machineName;
|
||||||
}) machinesWithExporter;
|
}) machinesWithExporter;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue