diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 20:33:06 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 20:33:06 +0200 |
commit | 23fe9bd87ae23115151bd1a60cecc29930e303b0 (patch) | |
tree | 221aa1bf0a46be7ff4395ccc578b6edef1a3c5a8 /hosts/vidhar/prometheus | |
parent | 9d1bafb43326110f49b68ecbb4b2d0e89190996c (diff) | |
download | nixos-23fe9bd87ae23115151bd1a60cecc29930e303b0.tar nixos-23fe9bd87ae23115151bd1a60cecc29930e303b0.tar.gz nixos-23fe9bd87ae23115151bd1a60cecc29930e303b0.tar.bz2 nixos-23fe9bd87ae23115151bd1a60cecc29930e303b0.tar.xz nixos-23fe9bd87ae23115151bd1a60cecc29930e303b0.zip |
vidhar: ...
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 | } |