final setup

This commit is contained in:
Arne Teuke
2025-06-13 17:16:08 +02:00
parent 31fa60bd53
commit 3bd4b55669

View File

@@ -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 -%>