summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r--hosts/vidhar/prometheus/default.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index e6de6806..14d6dabf 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -216,7 +216,7 @@ in {
216 metrics_path = "/probe"; 216 metrics_path = "/probe";
217 params = { module = ["dns_soa"]; }; 217 params = { module = ["dns_soa"]; };
218 static_configs = [ 218 static_configs = [
219 { targets = ["127.0.0.53:53" "127.0.0.1:53"]; } 219 { targets = ["127.0.0.1:53"]; }
220 ]; 220 ];
221 relabel_configs = [ 221 relabel_configs = [
222 { source_labels = ["__address__"]; 222 { source_labels = ["__address__"];
@@ -225,11 +225,6 @@ in {
225 ] ++ relabelHosts ++ 225 ] ++ relabelHosts ++
226 [ { source_labels = ["__param_target"]; 226 [ { source_labels = ["__param_target"];
227 target_label = "job"; 227 target_label = "job";
228 regex = "127\.0\.0\.53:53";
229 replacement = "systemd-resolved.dns_soa";
230 }
231 { source_labels = ["__param_target"];
232 target_label = "job";
233 regex = "127\.0\.0\.1:53"; 228 regex = "127\.0\.0\.1:53";
234 replacement = "unbound.dns_soa"; 229 replacement = "unbound.dns_soa";
235 } 230 }