clanServices/prometheus: fix IPv6 address brackets
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user