Package: prometheus-nginx-exporter Version: 0.6.0+ds-1 Severity: normal Tags: patch
Hi! Attached a patch to update the default file to the latest options supported by the daemon and to clean and unify its formatting. Thanks, Guillem
diff --git i/debian/default w/debian/default index eab7e45..cae36d2 100644 --- i/debian/default +++ w/debian/default @@ -2,13 +2,36 @@ ARGS="" # Prometheus-nginx-exporter supports the following options: # -nginx.plus -# Start the exporter for NGINX Plus. By default, the exporter is started -# for NGINX. +# Start the exporter for NGINX Plus. By default, the exporter is started +# for NGINX. The default value can be overwritten by NGINX_PLUS environment +# variable. +# -nginx.retries uint +# A number of retries the exporter will make on start to connect to the +# NGINX stub_status page/NGINX Plus API before exiting with an error. The +# default value can be overwritten by NGINX_RETRIES environment variable. +# -nginx.retry-interval value +# An interval between retries to connect to the NGINX stub_status +# page/NGINX Plus API on start. The default value can be overwritten by +# NGINX_RETRY_INTERVAL environment variable. (default 5s) # -nginx.scrape-uri string -# A URI for scraping NGINX or NGINX Plus metrics. -# For NGINX, the stub_status page must be available through the URI. -# For NGINX Plus -- the API. (default "http://127.0.0.1:8080/stub_status") +# A URI or unix domain socket path for scraping NGINX or NGINX Plus metrics. +# For NGINX, the stub_status page must be available through the URI. For +# NGINX Plus -- the API. The default value can be overwritten by SCRAPE_URI +# environment variable. (default "http://127.0.0.1:8080/stub_status") +# -nginx.ssl-verify +# Perform SSL certificate verification. The default value can be overwritten +# by SSL_VERIFY environment variable. (default true) +# -nginx.timeout value +# A timeout for scraping metrics from NGINX or NGINX Plus. The default value +# can be overwritten by TIMEOUT environment variable. (default 5s) +# -prometheus.const-labels value +# A comma separated list of constant labels that will be used in every +# metric. Format is label1=value1,label2=value2... The default value can be +# overwritten by CONST_LABELS environment variable. # -web.listen-address string -# An address to listen on for web interface and telemetry. (default ":9113") +# An address or unix domain socket path to listen on for web interface and +# telemetry. The default value can be overwritten by LISTEN_ADDRESS +# environment variable. (default ":9113") # -web.telemetry-path string -# A path under which to expose metrics. (default "/metrics" +# A path under which to expose metrics. The default value can be overwritten +# by TELEMETRY_PATH environment variable. (default "/metrics")