From 8df4f79f0a62f56f476a85d2be367c906f174e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 16 Sep 2024 15:26:01 +0300 Subject: [PATCH] prometheus: relabel to `instance` --- hosts/fwminex/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 2937f6a..3e80ecc 100644 --- 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 = [ {