Skip to content

docs: document Prometheus PushGateway usage with PrometheusMeterRegistry#7594

Open
won-seoop wants to merge 1 commit into
micrometer-metrics:mainfrom
won-seoop:doc-prometheus-pushgateway
Open

docs: document Prometheus PushGateway usage with PrometheusMeterRegistry#7594
won-seoop wants to merge 1 commit into
micrometer-metrics:mainfrom
won-seoop:doc-prometheus-pushgateway

Conversation

@won-seoop

Copy link
Copy Markdown

Problem

The Prometheus registry docs (implementations/prometheus.adoc) have no mention of the Prometheus PushGateway, which is the standard way to export metrics from short-lived jobs that Prometheus cannot scrape directly.

Changes

Add a "Using the Prometheus PushGateway" subsection under Configuring, covering:

  • New client (micrometer-registry-prometheus): dependency coordinates for prometheus-metrics-exporter-pushgateway (managed by prometheus-metrics-bom) plus a minimal builder example
  • Legacy client (micrometer-registry-prometheus-simpleclient): dependency coordinates for simpleclient_pushgateway plus a minimal imperative example
  • Links to the upstream Prometheus Java Client PushGateway docs for advanced options (grouping keys, format, scheduler, etc.)

Closes #4615

🤖 Generated with Claude Code

Add a "Using the Prometheus PushGateway" subsection under Configuring,
covering both the new client (prometheus-metrics-exporter-pushgateway)
and the legacy client (simpleclient_pushgateway), with dependency
snippets and minimal code examples.

Closes micrometer-metrics#4615

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document usage of Prometheus PushGateway

1 participant