observability: scrape CloudNativePG postgres metrics (VMPodScrape)
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

Follow-up to #239. Every CNPG instance pod exposes metrics on :9187 but
nothing scraped them. Add one namespace-wide VMPodScrape (namespaceSelector
any, selector cnpg.io/podRole=instance) so the VMAgent collects postgres
metrics for all ~23 CNPG clusters (authentik, grafana, woodpecker, etc.).
This commit is contained in:
2026-07-07 00:05:59 +10:00
parent 55e41897ef
commit 7956a44b87
2 changed files with 18 additions and 0 deletions
@@ -8,3 +8,4 @@ resources:
- vmagent.yaml
- gateway.yaml
- httproute.yaml
- vmpodscrape-cnpg.yaml