Interview Prep/Monitoring & Observability/Kubernetes monitoring and the Prometheus Operator

Two Prometheus instances (kube-prometheus and a team's own) both scrape the same targets and double cost

AdvancedTroubleshootingKubernetes monitoring and the Prometheus Operator
Answer

Likely causes → Both select all ServiceMonitors (empty selectors).

Diagnose → Compare /targets across instances; check each Prometheus CR's selectors.

Fix → Give each Prometheus a distinct serviceMonitorSelector (e.g. prometheus: platform vs prometheus: team-a), or use namespace selectors.

Prevent → One label convention for ownership of ServiceMonitors.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes monitoring and the Prometheus Operator