Expose metrics in k8s via Service Monitor — Prometheus is an excellent monitoring tool developed for Kubernetes monitoring.
Many of the helm charts like Nginx, and RabbitMq provide inbuilt provisions for metrics exposing for Prometheus monitoring.
These metrics are generally exposed on an endpoint, say, /metrics and Prometheus pulls down, and processes them at a certain interval. But…