From c1a8fdd6ac55b079996a9d483b16556830258678 Mon Sep 17 00:00:00 2001 From: pgijsbertsen <117165507+pgijsbertsen@users.noreply.github.com> Date: Sat, 31 Jan 2026 19:31:00 +0100 Subject: [PATCH] chore(alloy): Scrape Alloy metrics --- k8s-peterg/alloy/configmap.yaml | 6 +++--- k8s-wheatley/alloy/configmap.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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" {