A PodMonitor is a Kubernetes custom resource that tells Prometheus how to discover pods and scrape their metrics. It selects pods, ports, endpoints, and scrape frequency, simplifying monitoring for dynamically changing deployments. section 11.1.1
A practical verification workflow checks the entire monitoring path:
- Open Status, then Service Discovery, and confirm a PodMonitor monitors the deployment. section 11.1.1
- Search for application metrics in Prometheus before visualizing them in Grafana. section 11.1.1
Monitoring BentoML deployments
A PodMonitor can monitor all BentoML deployments, allowing Prometheus to collect metrics exposed through their /metrics endpoints and making those metrics available for Grafana dashboards. section 11.1.1
