observability: scrape CloudNativePG postgres metrics (follow-up to #239) #242
Reference in New Issue
Block a user
Delete Branch "benvin/cnpg-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #239. Every CNPG instance pod already exposes Prometheus metrics on
:9187(metricsport), but nothing scraped them. Adds a single namespace-wideVMPodScrape(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.