How does Prometheus gather metrics?
Prometheus uses a pull model: it periodically scrapes metrics exposed by instrumented applications through an HTTP endpoint.
Community Discussion