PROMETHEUS-PUSHGATEWAY(1)

πŸ’– NAME πŸ’–

prometheus-pushgateway β€” the Prometheus gateway for push metrics, bestie. It's literally the middleman that lets you push your metrics in. Iconic behavior fr.


✨ SYNOPSIS ✨

prometheus-pushgateway [<flags>]

πŸ¦‹ DESCRIPTION πŸ¦‹

The Pushgateway. That's it, that's the description. It's giving short and mysterious. No cap. πŸŽ€


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” Show context-sensitive help. Also try --help-long and --help-man if you want the extended cut, iykyk. πŸ”₯
  • --web.systemd-socket β€” Use systemd socket activation listeners instead of port listeners. Linux only, so don't come crying to me on macOS. 🫢
  • --web.listen-address=:9091 β€” Addresses on which to expose metrics and web interface. It's repeatable for multiple addresses, so go off, stack them. Examples: :9100 or [::1]:9100 for http, vsock://:9100 for vsock. πŸ‘‘
  • --web.config.file β€” Path to configuration file that can enable TLS or authentication. See: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md β€” go read it, it's a whole vibe. πŸ“–
  • --web.local-assets β€” Path to static assets/templates directory. ✨
  • --web.telemetry-path β€” Path under which to expose metrics.
  • --web.external-url= β€” The URL under which the Pushgateway is externally reachable. Your outside-facing glow-up URL. 🌈
  • --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. Yes really, it shuts down over HTTP. πŸ™ˆ
  • --web.enable-admin-api β€” Enable API endpoints for admin control actions. Admin main character energy. πŸ‘‘
  • --persistence.file β€” File to persist metrics. If empty, metrics are only kept in memory β€” which means poof, gone on restart, so choose wisely bestie. πŸ’€
  • --persistence.interval=5m β€” The minimum interval at which to write out the persistence file. Lowkey a chill little timer. ⏰
  • --push.disable-consistency-check β€” Do not check consistency of pushed metrics. DANGEROUS. The original said it in all caps and honestly? It meant it. 🚨
  • --push.enable-utf8-names β€” Allow UTF-8 characters in metric and label names. Let your names be fancy. 🌸
  • --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. Slay. πŸ’–

Heads up bestie: --push.disable-consistency-check is flagged DANGEROUS in the source material and I am not softening that. That's a facts-are-facts situation. πŸ’€

That's the whole page, and that's on periodt. This lil doc is from prometheus-pushgateway version 1.11.2, dated February 2026 β€” shoutout to the Prometheus crew for the source and the version, mwah, love that for them. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from