From 4c9c432b28579b12b92d2b495af817a55ecf33c0 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sat, 2 Aug 2025 11:32:31 -0500 Subject: [PATCH] Try fixing prom metrics in staging 1st --- k8s/monitoring/values-staging.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/k8s/monitoring/values-staging.yaml b/k8s/monitoring/values-staging.yaml index c9bd0b2..eb663a7 100644 --- a/k8s/monitoring/values-staging.yaml +++ b/k8s/monitoring/values-staging.yaml @@ -1,5 +1,18 @@ # Helm chart values for Prometheus Operator with HTTPS and basic auth kube-prometheus-stack: + nodeExporter: + enabled: true + serviceMonitor: + enabled: true + relabelings: + - sourceLabels: [__meta_kubernetes_pod_node_name] + targetLabel: instance + action: replace + # Optional Rule 2: If the original IP address needs to be retained + # as a separate label (e.g., 'ip_address'), this rule can be added: + - sourceLabels: [__address__] + targetLabel: ip_address + action: replace prometheus: ingress: enabled: true