DevOps & CI/CD

Prometheus Pull vs Push Metrics Collection

DevOps & CI/CD diagram · made in Skemio

Architecture diagram contrasting Prometheus scraping long-lived web services directly versus batch jobs pushing to Pushgateway.
Architecture diagram contrasting Prometheus scraping long-lived web services directly versus batch jobs pushing to Pushgateway.

What it shows

  • Pull collection enables automatic health monitoring via failed scrape endpoints.
  • Push model overwhelms collectors during simultaneous traffic surges.
  • Pushgateway buffers ephemeral batch job metrics until the next pull cycle.

The takeaway

Pull gives scrapers control over ingestion rates, while Pushgateway serves as a bridge for short-lived batch jobs.

More devops & ci/cd diagrams