diff --git a/k8s-peterg/alloy/configmap.yaml b/k8s-peterg/alloy/configmap.yaml index 98b80cb..5e55a0c 100644 --- a/k8s-peterg/alloy/configmap.yaml +++ b/k8s-peterg/alloy/configmap.yaml @@ -461,12 +461,12 @@ data: path_targets = discovery.relabel.pod_logs.output } - prometheus.scrape "prometheus" { + prometheus.scrape "alloy" { targets = [{ - __address__ = "localhost:9090", + __address__ = "localhost:12345", }] + job_name = "alloy" forward_to = [prometheus.remote_write.default.receiver] - job_name = "prometheus" } prometheus.scrape "node_exporter" { diff --git a/k8s-wheatley/alloy/configmap.yaml b/k8s-wheatley/alloy/configmap.yaml index 65fb2e5..82578d8 100644 --- a/k8s-wheatley/alloy/configmap.yaml +++ b/k8s-wheatley/alloy/configmap.yaml @@ -476,12 +476,12 @@ data: path_targets = discovery.relabel.pod_logs.output } - prometheus.scrape "prometheus" { + prometheus.scrape "alloy" { targets = [{ - __address__ = "localhost:9090", + __address__ = "localhost:12345", }] + job_name = "alloy" forward_to = [prometheus.remote_write.default.receiver] - job_name = "prometheus" } prometheus.scrape "node_exporter" {