summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/prometheus/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index 3d0af319..af21ee7d 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -149,6 +149,20 @@ in {
149 relabel_configs = relabelHosts; 149 relabel_configs = relabelHosts;
150 scrape_interval = "1s"; 150 scrape_interval = "1s";
151 } 151 }
152 { job_name = "loki";
153 static_configs = [
154 { targets = ["localhost:9094"]; }
155 ];
156 relabel_configs = relabelHosts;
157 scrape_interval = "1s";
158 }
159 { job_name = "promtail";
160 static_configs = [
161 { targets = ["localhost:9080"]; }
162 ];
163 relabel_configs = relabelHosts;
164 scrape_interval = "1s";
165 }
152 ]; 166 ];
153 }; 167 };
154 users.users.${config.services.prometheus.exporters.unbound.user} = { 168 users.users.${config.services.prometheus.exporters.unbound.user} = {