From 3bd4b556692e91d0caaee28e7ee99e7dbae855da Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Fri, 13 Jun 2025 17:16:08 +0200 Subject: [PATCH] final setup --- templates/config.alloy.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index ed1126b..6f1909d 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -66,10 +66,8 @@ prometheus.scrape "scrape_system" { } <% if @ay_manage_ne == true -%> prometheus.scrape "node_exporter" { - targets = [ - { __address__ = "localhost:9100" }, - ] - forward_to = [prometheus.remote_write.prometheus.receiver] + targets = [{ __address__ = "localhost:9100" }] + forward_to = [prometheus.remote_write.prometheus.receiver] scrape_interval = "15s" } <% end -%>