From 99eb445c14cb35b025923aa42619482f62f7972d Mon Sep 17 00:00:00 2001 From: c6ristian Date: Fri, 18 Apr 2025 17:22:13 +0200 Subject: [PATCH] unbound alloy --- inventories/eh22/host_vars/resolv-dns.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inventories/eh22/host_vars/resolv-dns.yaml b/inventories/eh22/host_vars/resolv-dns.yaml index 0264d81..f525d61 100644 --- a/inventories/eh22/host_vars/resolv-dns.yaml +++ b/inventories/eh22/host_vars/resolv-dns.yaml @@ -61,3 +61,11 @@ alloy_config: | scrape_interval = "10s" } + prometheus.scrape "scrape_unbound" { + targets = [{ + __address__ = "127.0.0.1:9167", + }] + forward_to = [prometheus.remote_write.default.receiver] + scrape_interval = "10s" + } +