modified: monitoring/base/alloy/node-scraper/config.alloy

This commit is contained in:
Márcio Fernandes committed 2026-10-04 20:15:09 +00:00
1 parent 51d7b38637
commit 6cd6880c5e
1 file changed
+2 -2
@@ -150,7 +150,7 @@ discovery.relabel "kube_pod_logs" {
// Metrics: Prometheus connection config
// ============================================
prometheus.remote_write "metrics_service" {
prometheus.remote_write "prometheus_srv" {
endpoint {
url = sys.env("PROMETHEUS_URL")
}
@@ -203,7 +203,7 @@ prometheus.scrape "node_exporter" {
}
prometheus.relabel "node_exporter" {
forward_to = [prometheus.remote_write.metrics_service.receiver]
forward_to = [prometheus.remote_write.prometheus_srv.receiver]
rule {
action = "replace"