diff options
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
227 | } | 227 | } |
228 | ] ++ relabelHosts ++ | 228 | ] ++ relabelHosts ++ |
229 | [ { source_labels = ["__param_target"]; | 229 | [ { source_labels = ["__param_target"]; |
230 | target_label = "instance"; | 230 | target_label = "job"; |
231 | regex = "127\.0\.0\.53:53"; | 231 | regex = "127\.0\.0\.53:53"; |
232 | replacement = "systemd-resolved.dns_soa"; | 232 | replacement = "systemd-resolved.dns_soa"; |
233 | } | 233 | } |
234 | { source_labels = ["__param_target"]; | 234 | { source_labels = ["__param_target"]; |
235 | target_label = "instance"; | 235 | target_label = "job"; |
236 | regex = "127\.0\.0\.1:53"; | 236 | regex = "127\.0\.0\.1:53"; |
237 | replacement = "unbound.dns_soa"; | 237 | replacement = "unbound.dns_soa"; |
238 | } | 238 | } |