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: limits:
cpu: 500m cpu: 500m
memory: 500Mi memory: 500Mi
monitoring:
enablePodMonitor: true

View File

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