From 1cd4df8b8f9589dacf07c257d19f84f8793ba1d0 Mon Sep 17 00:00:00 2001
From: Remy Moll <me@moll.re>
Date: Sun, 24 Dec 2023 11:33:32 +0100
Subject: [PATCH] update prom cfg

---
 apps/monitoring/prometheus.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/apps/monitoring/prometheus.yaml b/apps/monitoring/prometheus.yaml
index 7d1055c..2b44490 100644
--- a/apps/monitoring/prometheus.yaml
+++ b/apps/monitoring/prometheus.yaml
@@ -49,6 +49,8 @@ spec:
   serviceAccountName: prometheus
   serviceMonitorSelector: # match all service monitors by default
     matchLabels: {}
+  serviceMonitorNamespaceSelector: # match all namespaces by default
+    matchLabels: {}
   resources:
     requests:
       memory: 400Mi
@@ -65,4 +67,4 @@ spec:
     targetPort: 9090
     protocol: TCP
   selector:
-    app: prometheus
+    prometheus: prometheus