chore(contour): collect metrics
Some checks failed
Renovate / renovate (push) Has been cancelled

This commit is contained in:
Peter 2024-05-19 11:44:36 +02:00
parent 612f946445
commit 14f24fb1da
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -0,0 +1,33 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: contour-pods
labels:
prometheus: default
spec:
selector:
matchLabels:
app: contour-contour
namespaceSelector:
matchNames:
- projectcontour
podMetricsEndpoints:
- port: metrics
path: /metrics
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: envoy-pods
labels:
prometheus: default
spec:
selector:
matchLabels:
app: envoy-contour
namespaceSelector:
matchNames:
- projectcontour
podMetricsEndpoints:
- port: metrics
path: /stats/prometheus