PROMETHEUS-NGINX-EXPORTER(1)
π PROMETHEUS-NGINX-EXPORTER π
okay bestie, gather round, because today we're talking about prometheus-nginx-exporter β it's a Prometheus exporter for NGINX web server metrics, and it's genuinely one of the most lowkey iconic little tools out there. no cap. π¦
β¨ NAME β¨
prometheus-nginx-exporter β a Prometheus exporter for NGINX web server metrics. she takes your nginx numbers and serves them up to Prometheus like it's nothing. main character energy fr fr. π
πΈ SYNOPSIS πΈ
prometheus-nginx-exporter [<flags>]
that's it. that's the whole vibe. just run her and pass some flags. π
π DESCRIPTION π
so um. the description section is literally empty in the original. nothing here. it's giving silence. π the flags below do all the talking, and honestly? they ate. β
π OPTIONS π
-h,--helpβ shows you the context-sensitive help, like a good friend who actually answers your texts. psst β you can also try--help-longand--help-manif you want the deluxe versions. π--web.systemd-socketβ uses systemd socket activation listeners instead of port listeners. Linux only, bestie, don't try this on your mac. π--web.listen-address=:9113β the address(es) where metrics and the web interface get exposed. it's repeatable so you can stack multiple addresses, go off. examples::9100or[::1]:9100for http, andvsock://:9100for vsock. π--web.config.file=""β path to a config file that can turn on TLS or authentication. the docs live at: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md β go read them, i'll wait. π«Ά--web.telemetry-path="/metrics"β the path under which metrics get exposed. classic. iconic./metrics. β¨--nginx.plusβ starts the exporter for NGINX Plus. by default the exporter starts for regular NGINX, so flip this if you're fancy. π--nginx.scrape-uri=http://127.0.0.1:8080/stub_statusβ a URI or a unix domain socket path for scraping NGINX or NGINX Plus metrics. for NGINX, thestub_statuspage has to be available through the URI. for NGINX Plus β it's the API. repeatable for multiple URIs, so go wild. πΈ--nginx.ssl-verifyβ performs SSL certificate verification. safety first, babes. π₯--nginx.ssl-ca-cert=""β path to the PEM encoded CA certificate file used to validate the server's SSL certificate. π--nginx.ssl-client-cert=""β path to the PEM encoded client certificate file to use when connecting to the server. π¦--nginx.ssl-client-key=""β path to the PEM encoded client certificate key file to use when connecting to the server. keep this one secret ok. π--nginx.proxy-protocolβ passes the proxy protocol payload to nginx listeners. π¨--nginx.timeout=5sβ a timeout for scraping metrics from NGINX or NGINX Plus. five seconds and then we move on, periodt. β°--prometheus.const-label=PROMETHEUS.CONST-LABELβ a label that gets used in every single metric. the format islabel=value, and yes you can repeat it multiple times. obsessed. π--log.level=infoβ only logs 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]. pick your fighter. π₯--versionβ shows the application version. slay. π
heads up bestie: those--web.*and--nginx.*flags are doing real work, so don't just copy-paste them into prod without reading what they do. thestub_statuspage and the NGINX Plus API are requirements, not suggestions. π
and that's the whole page, you're welcome. π
this was prometheus-nginx-exporter version 1.5.1, brought to you by December 2025. bye bestie, go scrape something pretty. π§β¨
π¦ where this page comes from
- ubuntu resolute: prometheus-nginx-exporter 1.5.1-1 Β· Apache-2.0
- ubuntu stonking: prometheus-nginx-exporter 1.5.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms