summaryrefslogtreecommitdiff
path: root/hosts/surtr/prometheus
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/prometheus')
-rw-r--r--hosts/surtr/prometheus/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/prometheus/default.nix b/hosts/surtr/prometheus/default.nix
index a3ce4976..e38fdcb2 100644
--- a/hosts/surtr/prometheus/default.nix
+++ b/hosts/surtr/prometheus/default.nix
@@ -113,7 +113,7 @@ in {
113 metrics_path = "/probe"; 113 metrics_path = "/probe";
114 params = { module = ["dns_soa"]; }; 114 params = { module = ["dns_soa"]; };
115 static_configs = [ 115 static_configs = [
116 { targets = ["127.0.0.53:53" "127.0.0.1:53"]; } 116 { targets = ["127.0.0.53:53" "127.0.0.1:5353"]; }
117 ]; 117 ];
118 relabel_configs = [ 118 relabel_configs = [
119 { source_labels = ["__address__"]; 119 { source_labels = ["__address__"];
@@ -127,7 +127,7 @@ in {
127 } 127 }
128 { source_labels = ["__param_target"]; 128 { source_labels = ["__param_target"];
129 target_label = "job"; 129 target_label = "job";
130 regex = "127\.0\.0\.1:53"; 130 regex = "127\.0\.0\.1:5353";
131 replacement = "unbound.dns_soa"; 131 replacement = "unbound.dns_soa";
132 } 132 }
133 { replacement = "localhost:${toString config.services.prometheus.exporters.blackbox.port}"; 133 { replacement = "localhost:${toString config.services.prometheus.exporters.blackbox.port}";