diff --git a/monitoring/base/alloy/node-scraper/config.alloy b/monitoring/base/alloy/node-scraper/config.alloy index 8d20b79..a9bd4a3 100644 --- a/monitoring/base/alloy/node-scraper/config.alloy +++ b/monitoring/base/alloy/node-scraper/config.alloy @@ -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"