summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-04-08 23:49:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-04-08 23:49:06 +0200
commite1e238a348d341cdae1fc951e5e5f00b2c0c4743 (patch)
tree206ced8e7d3885cfa77ee5fe307d8a8579057bb2 /hosts/surtr
parent703f03b0a86c490f4c7d2a2ae06588927feebd05 (diff)
downloadnixos-e1e238a348d341cdae1fc951e5e5f00b2c0c4743.tar
nixos-e1e238a348d341cdae1fc951e5e5f00b2c0c4743.tar.gz
nixos-e1e238a348d341cdae1fc951e5e5f00b2c0c4743.tar.bz2
nixos-e1e238a348d341cdae1fc951e5e5f00b2c0c4743.tar.xz
nixos-e1e238a348d341cdae1fc951e5e5f00b2c0c4743.zip
surtr: ...
Diffstat (limited to 'hosts/surtr')
-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}";