From 23fe9bd87ae23115151bd1a60cecc29930e303b0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Apr 2022 20:33:06 +0200 Subject: vidhar: ... --- hosts/vidhar/prometheus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/vidhar') diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 1aa0c0b4..09f808a6 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix @@ -227,12 +227,12 @@ in { } ] ++ relabelHosts ++ [ { source_labels = ["__param_target"]; - target_label = "instance"; + target_label = "job"; regex = "127\.0\.0\.53:53"; replacement = "systemd-resolved.dns_soa"; } { source_labels = ["__param_target"]; - target_label = "instance"; + target_label = "job"; regex = "127\.0\.0\.1:53"; replacement = "unbound.dns_soa"; } -- cgit v1.2.3