prometheus-haproxy-exporter(1)

✨ prometheus-haproxy-exporter ✨

okay bestie, gather round πŸ’– this is the manual page for prometheus-haproxy-exporter β€” yes it's the prometheus-haproxy-exporter(1) page, and it lives in version 0.15.0. It's the Prometheus exporter for HAProxy. that's the whole vibe. let's go 🫢


🌸 NAME 🌸

prometheus-haproxy-exporter β€” Prometheus exporter for HAProxy πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

prometheus-haproxy-exporter [<flags>]

πŸ’… DESCRIPTION πŸ’…

okay so real talk: this section is literally empty in the original. like, nothing. a blank page. main character silence ✨ so we move on, no notes, the options are where the party's at πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows you the context-sensitive help, bestie. also try --help-long and --help-man if you want the deluxe versions πŸ’–
  • --web.systemd-socket β€” use systemd socket activation listeners instead of port listeners. Linux only! 🐧
  • --web.listen-address=:9101 β€” the addresses where your metrics and web interface get exposed, periodt. it's repeatable if you need multiple addresses. examples: :9100 or [::1]:9100 for http, and vsock://:9100 for vsock 🌈
  • --web.config.file β€” path to a configuration file that can enable TLS or authentication. see: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md πŸ”
  • --web.telemetry-path β€” the path under which metrics get exposed πŸ›£οΈ
  • --haproxy.scrape-uri β€” the URI you scrape HAProxy from 🎯
  • --haproxy.ssl-verify β€” a flag that enables SSL certificate verification for the scrape URI πŸ”’
  • --haproxy.server-metric-fields β€” comma-separated list of exported server metrics. see http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.1 πŸ“Š
  • --haproxy.server-exclude-states β€” comma-separated list of exported server states to exclude. see https://cbonte.github.io/haproxy-dconv/1.8/management.html#9.1, field 17 statuus 🚫
  • --haproxy.timeout=5s β€” timeout for trying to get stats from HAProxy. five seconds is the default, no cap ⏳
  • --haproxy.pid-file β€” path to the HAProxy pid file.

If provided, the standard process metrics get exported for the HAProxy process, prefixed with haproxy_process_.... The haproxy_process exporter needs to have read access to files owned by the HAProxy process. Depends on the availability of /proc. πŸ‘€

https://prometheus.io/docs/instrumenting/writing_clientlibs/#process-metrics

  • --http.proxy-from-env β€” a flag that enables using HTTP proxy settings from environment variables ($http_proxy, $https_proxy, $no_proxy) 🌐
  • --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 🏷️

and that's the whole thing, bestie πŸ’€ no hidden sections, no secret flags, this is it.

sign-off time 🧚 this page came from haproxy_exporter, it's the prometheus-haproxy-exporter(1) manual, and the version floating around it is 0.15.0. slay, go scrape something πŸ”₯πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from