From 50820e7febf65492d2de8e6a3dd8a2c87308d3c7 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 20 Dec 2024 12:07:01 +0100 Subject: [PATCH] feat(metrics): Add db metrics for grafana --- manifests/grafana/database.yaml | 4 ++++ manifests/kubelet-servicemonitor.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/grafana/database.yaml b/manifests/grafana/database.yaml index ce89b2b..0c66214 100644 --- a/manifests/grafana/database.yaml +++ b/manifests/grafana/database.yaml @@ -47,3 +47,7 @@ spec: limits: cpu: 500m memory: 500Mi + + monitoring: + enablePodMonitor: true + diff --git a/manifests/kubelet-servicemonitor.yaml b/manifests/kubelet-servicemonitor.yaml index 3b827d5..f9327ed 100644 --- a/manifests/kubelet-servicemonitor.yaml +++ b/manifests/kubelet-servicemonitor.yaml @@ -8,5 +8,5 @@ spec: matchLabels: app.kubernetes.io/name: kubelet endpoints: - - port: http-metrics + - port: https-metrics path: /metrics