Scraping controller-runtime Prometheus Metrics Locally

from blog Daniel Mangum, | ↗ original
controller-runtime exposes a metrics server by default on port 8080 for any controller Manager. Metrics are registered for the client, workqueue, and on a per-controller basis. Controllers initialize metrics when started, and write to the registry at various points throughout operation, such as when processing items off the workqueue and after...