prometheus.prometheus.nginx_exporter role – Prometheus nginx_exporter
Note
This role is part of the prometheus.prometheus collection (version 0.22.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install prometheus.prometheus
.
To use it in a playbook, specify: prometheus.prometheus.nginx_exporter
.
Entry point main
– Prometheus nginx_exporter
Synopsis
Deploy prometheus nginx exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install nginx_exporter binary Default: |
|
URL of the nginx_exporter binaries .tar.gz file Default: |
|
URL of the nginx_exporter checksums file Default: |
|
Path to directory with nginx_exporter configuration Default: |
|
Config for HTTP/2 support. Keys and values are the same as in nginx_exporter docs. |
|
Local path to stash the archive and its extraction Default: |
|
Output format of log messages. One of: [logfmt, json] Default: |
|
Only log messages with the given severity or above. One of: [debug, info, warn, error] Default: |
|
Start the exporter for NGINX Plus. Choices:
|
|
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. Default: |
|
Advanced System group for nginx_exporter Default: |
|
Advanced nginx_exporter user Default: |
|
Configuration for TLS authentication. Keys and values are the same as in nginx_exporter docs. |
|
nginx_exporter package version. Also accepts latest as parameter. Default: |
|
Address on which nginx exporter will listen Default: |
|
Path under which to expose metrics Default: |