# prometheus/pushgateway

Push acceptor for ephemeral and batch jobs.

Repository: https://github.com/prometheus/pushgateway
Canonical: https://ross.abutalabs.com/products/pushgateway
Language: Go
License: Apache-2.0
License Family: permissive
Topics: hacktoberfest
Last push: 2026-08-06T07:20:37+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 62, longevity 100
- inputs: {"age_days": 4599, "days_push": 27, "days_rel": 98, "gap_med": 157.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3361, forks 494 (observed 2026-08-28T04:07:58.072591+00:00)

## What it is
Prometheus Pushgateway is a metrics acceptor service that lets ephemeral and batch jobs push their metrics so Prometheus can scrape them later. It acts as a metrics cache rather than an aggregator, exposing pushed metrics to Prometheus in the standard pull model.

## Use cases
- push metrics from short-lived batch jobs to prometheus
- expose metrics from cron jobs that finish before being scraped
- monitor service-level metrics from ephemeral CI jobs
- collect metrics from scripts that cannot be scraped directly
- bridge push-based metrics into a pull-based monitoring setup

## When to choose
- your jobs are ephemeral or batch-oriented and may not live long enough to be scraped
- you need service-level metrics from short-lived processes in a Prometheus setup
- you want a simple, official Prometheus component for metric pushing

## When to avoid
- you want push-based monitoring in general - Prometheus remains pull-based
- you need distributed counting or statsd-like aggregation
- you need metrics with TTLs or automatic expiration
- you need machine-level metrics - use the node_exporter textfile collector instead

## Facets
- artifact type: service
- maturity: stable
- function: monitoring, http-server
- domain: monitoring, backend
- platform: windows, go, self-hosted
- tags: prometheus, metrics, push-gateway, batch-jobs, observability, devops, linux, macos, docker

## Member repositories
- prometheus/pushgateway (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:58.072591+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:40:21.061121+00:00, confidence not recorded.
  - readme: https://github.com/prometheus/pushgateway (fetched 2026-08-28T04:07:58.072591+00:00, sha 9860490af329)
- Data as of 2026-08-30T08:39:29.467469+00:00.
