cert-manager: scrape metrics (follow-up to #239) #241

Merged
benvin merged 1 commits from benvin/cert-manager-metrics into main 2026-07-07 00:08:06 +10:00
2 changed files with 18 additions and 0 deletions
Showing only changes of commit ecea0c668a - Show all commits
@@ -7,3 +7,4 @@ resources:
- serviceaccount.yaml
- clusterrole.yaml
- clusterrolebinding.yaml
- vmservicescrape.yaml
@@ -0,0 +1,17 @@
---
# Scrape cert-manager webhook + cainjector metrics endpoints.
# Picked up by the observability VMAgent (selectAllByDefault).
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
name: cert-manager
namespace: cert-manager
spec:
selector:
matchLabels:
app.kubernetes.io/instance: cert-manager
endpoints:
- port: metrics
path: /metrics
- port: http-metrics
path: /metrics