feat(metrics): Add db metrics for grafana

This commit is contained in:
Tanguy Herbron 2024-12-20 12:07:01 +01:00
parent dceadd9e21
commit e85e147181
2 changed files with 10 additions and 2 deletions

View File

@ -47,3 +47,7 @@ spec:
limits:
cpu: 500m
memory: 500Mi
monitoring:
enablePodMonitor: true

View File

@ -8,5 +8,9 @@ spec:
matchLabels:
app.kubernetes.io/name: kubelet
endpoints:
- port: http-metrics
path: /metrics
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
path: /metrics
port: https-metrics
scheme: https
tlsConfig:
insecureSkipVerify: true