ansible-taler-exchange

Ansible playbook to deploy a production Taler Exchange
Log | Files | Refs | Submodules | README | LICENSE

prometheus-nginx-exporter (3643B)


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