observability: scrape CloudNativePG postgres metrics (follow-up to #239) #242

Merged
benvin merged 1 commits from benvin/cnpg-metrics into main 2026-07-07 00:08:33 +10:00
Owner

Follow-up to #239. Every CNPG instance pod already exposes Prometheus metrics on :9187 (metrics port), but nothing scraped them. Adds a single namespace-wide VMPodScrape (namespaceSelector.any, selector cnpg.io/podRole=instance) so the observability VMAgent collects postgres metrics for all ~23 CNPG clusters across the estate (authentik, grafana, woodpecker, artifactapi, puppet, litellm, …). No chart changes. Pairs well with the CNPG grafana.com dashboard (20417) as a further follow-up.

Follow-up to #239. Every CNPG instance pod already exposes Prometheus metrics on `:9187` (`metrics` port), but nothing scraped them. Adds a single namespace-wide `VMPodScrape` (`namespaceSelector.any`, `selector cnpg.io/podRole=instance`) so the observability VMAgent collects postgres metrics for **all ~23 CNPG clusters** across the estate (authentik, grafana, woodpecker, artifactapi, puppet, litellm, …). No chart changes. Pairs well with the CNPG grafana.com dashboard (20417) as a further follow-up.
unkinben added 1 commit 2026-07-07 00:06:01 +10:00
observability: scrape CloudNativePG postgres metrics (VMPodScrape)
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
7956a44b87
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.).
benvin merged commit be6d07cf77 into main 2026-07-07 00:08:33 +10:00
benvin deleted branch benvin/cnpg-metrics 2026-07-07 00:08:33 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#242