commit 8df4f79f0a62f56f476a85d2be367c906f174e01 (tree)
parent 550d1c05e17345adadd0a1665705623bbd95473b
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Mon, 16 Sep 2024 15:26:01 +0300
prometheus: relabel to `instance`
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix
@@ -360,7 +360,7 @@ in
source_labels = [ "__address__" ];
regex = "${myData.hosts.${hostname}.jakstIP}:${port}";
replacement = "${hostname}:${port}";
- target_label = "__address__";
+ target_label = "instance";
}) hosts;
static_configs = [
{