|
| 1 | +# Set the command-line arguments to pass to the server. |
| 2 | +# Due to shell escaping, to pass backslashes for regexes, you need to double |
| 3 | +# them (\\d for \d). If running under systemd, you need to double them again |
| 4 | +# (\\\\d to mean \d), and escape newlines too. |
| 5 | +ARGS="-web.listen-address 127.0.0.1:9113" |
| 6 | + |
| 7 | +# prometheus-nginx-exporter supports the following options: |
| 8 | +# |
| 9 | +# -nginx.plus |
| 10 | +# Start the exporter for NGINX Plus. By default, the exporter is started for |
| 11 | +# NGINX. The default value can be overwritten by NGINX_PLUS environment |
| 12 | +# variable. |
| 13 | +# -nginx.retries uint |
| 14 | +# A number of retries the exporter will make on start to connect to the |
| 15 | +# NGINX stub_status page/NGINX Plus API before exiting with an error. The |
| 16 | +# default value can be overwritten by NGINX_RETRIES environment variable. |
| 17 | +# -nginx.retry-interval value |
| 18 | +# An interval between retries to connect to the NGINX stub_status page/NGINX |
| 19 | +# Plus API on start. The default value can be overwritten by |
| 20 | +# NGINX_RETRY_INTERVAL environment variable. (default 5s). |
| 21 | +# -nginx.scrape-uri string |
| 22 | +# A URI or unix domain socket path for scraping NGINX or NGINX Plus metrics. |
| 23 | +# For NGINX, the stub_status page must be available through the URI. For |
| 24 | +# NGINX Plus -- the API. The default value can be overwritten by SCRAPE_URI |
| 25 | +# environment variable. (default "http://127.0.0.1:8080/stub_status"). |
| 26 | +# -nginx.ssl-ca-cert string |
| 27 | +# Path to the PEM encoded CA certificate file used to validate the servers |
| 28 | +# SSL certificate. The default value can be overwritten by SSL_CA_CERT |
| 29 | +# environment variable. |
| 30 | +# -nginx.ssl-client-cert string |
| 31 | +# Path to the PEM encoded client certificate file to use when connecting to |
| 32 | +# the server. The default value can be overwritten by SSL_CLIENT_CERT |
| 33 | +# environment variable. |
| 34 | +# -nginx.ssl-client-key string |
| 35 | +# Path to the PEM encoded client certificate key file to use when connecting |
| 36 | +# to the server. The default value can be overwritten by SSL_CLIENT_KEY |
| 37 | +# environment variable. |
| 38 | +# -nginx.ssl-verify |
| 39 | +# Perform SSL certificate verification. The default value can be overwritten |
| 40 | +# by SSL_VERIFY environment variable. (default true). |
| 41 | +# -nginx.timeout value |
| 42 | +# A timeout for scraping metrics from NGINX or NGINX Plus. The default value |
| 43 | +# can be overwritten by TIMEOUT environment variable. (default 5s). |
| 44 | +# -prometheus.const-labels value |
| 45 | +# A comma separated list of constant labels that will be used in every |
| 46 | +# metric. Format is label1=value1,label2=value2... The default value can be |
| 47 | +# overwritten by CONST_LABELS environment variable. |
| 48 | +# -web.listen-address string |
| 49 | +# An address or unix domain socket path to listen on for web interface and |
| 50 | +# telemetry. The default value can be overwritten by LISTEN_ADDRESS |
| 51 | +# environment variable. (default ":9113"). |
| 52 | +# -web.secured-metrics |
| 53 | +# Expose metrics using https. The default value can be overwritten by |
| 54 | +# SECURED_METRICS variable. |
| 55 | +# -web.ssl-server-cert string |
| 56 | +# Path to the PEM encoded certificate for the nginx-exporter metrics |
| 57 | +# server(when web.secured-metrics=true). The default value can be |
| 58 | +# overwritten by SSL_SERVER_CERT variable. |
| 59 | +# -web.ssl-server-key string |
| 60 | +# Path to the PEM encoded key for the nginx-exporter metrics server (when |
| 61 | +# web.secured-metrics=true). The default value can be overwritten by |
| 62 | +# SSL_SERVER_KEY variable. |
| 63 | +# -web.telemetry-path string |
| 64 | +# A path under which to expose metrics. The default value can be overwritten |
| 65 | +# by TELEMETRY_PATH environment variable. (default "/metrics"). |
0 commit comments