prometheus-pushgateway(1)

prometheus-pushgateway - Prometheus gateway for push metrics

Section 1 prometheus-pushgateway bookworm source

Description

prometheus-pushgateway

NAME

prometheus-pushgateway - Prometheus gateway for push metrics

SYNOPSIS

prometheus-pushgateway [<flags>]

DESCRIPTION

The Pushgateway

OPTIONS

-h, --help

Show context-sensitive help (also try --help-long and --help-man).

--web.systemd-socket

Use systemd socket activation listeners instead of port listeners (Linux only).

--web.listen-address=:9091

Addresses on which to expose metrics and web interface. Repeatable for multiple addresses.

--web.config.file=""

[EXPERIMENTAL] Path to configuration file that can enable TLS or authentication.

--web.local-assets="/usr/share/prometheus/pushgateway"

Path to static assets/templates directory.

--web.telemetry-path="/metrics"

Path under which to expose metrics.

--web.external-url=

The URL under which the Pushgateway is externally reachable.

--web.route-prefix=""

Prefix for the internal routes of web endpoints. Defaults to the path of --web.external-url.

--web.enable-lifecycle

Enable shutdown via HTTP request.

--web.enable-admin-api

Enable API endpoints for admin control actions.

--persistence.file="/var/lib/prometheus/pushgateway.data"

File to persist metrics. If empty, metrics are only kept in memory.

--persistence.interval=5m

The minimum interval at which to write out the persistence file.

--push.disable-consistency-check

Do not check consistency of pushed metrics. DANGEROUS.

--log.level=info

Only log messages with the given severity or above. One of: [debug, info, warn, error]

--log.format=logfmt

Output format of log messages. One of: [logfmt, json]

--version

Show application version.