prometheus/pushgateway

Push acceptor for ephemeral and batch jobs.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 20th, 2026
Created on January 29th, 2014
Open Issues & Pull Requests: 17 (+0)
GitHub issues: Enabled
Number of forks: 496
Total Stargazers: 3,368 (+0)
Total Subscribers: 55 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 369 days
Stale 30+ days: 4
Stale 90+ days: 3

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (4)
  • feature request (3)
  • help wanted (2)
  • not-as-easy-as-it-looks (1)

Most active issues this week

Detailed Description

Prometheus Pushgateway is a push acceptor for ephemeral and batch jobs.

Prometheus normally operates on a pull model where the server scrapes metrics from targets at regular intervals. This approach works poorly for short-lived jobs that may complete before the next scrape occurs, causing their metrics to be lost. Pushgateway solves this by accepting pushed metrics from these ephemeral and batch jobs, holding them in memory, and exposing them for Prometheus to scrape. Jobs push their metrics to Pushgateway when they complete, ensuring the data persists long enough for collection.

Pushgateway is appropriate for environments where you run batch jobs, cron tasks, or other short-lived processes that need their metrics captured. It acts as an intermediary buffer between jobs and Prometheus, eliminating the need to modify Prometheus's core scraping behavior. This tool is particularly valuable in containerized or serverless environments where job lifespans are unpredictable and traditional pull-based collection would miss data.

The project maintains steady development activity with regular commits addressing bug fixes and incremental improvements. Pull requests are reviewed and merged consistently, indicating active maintenance. The codebase receives updates to dependencies and tooling to keep pace with the Go ecosystem and Prometheus standards.