prometheus.prometheus.consul_exporter role – Prometheus consul Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.26.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.consul_exporter
.
Entry point main
– Prometheus consul Exporter
Synopsis
Deploy prometheus consul_exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Only export metrics about services registered on local agent Choices:
|
|
Allows any Consul server (non-leader) to service a read Choices:
|
|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install binaries Default: |
|
URL of the consul_exporter binaries .tar.gz file Default: |
|
URL of the consul_exporter checksums file Default: |
|
Path to directory with consul_exporter configuration Default: |
|
Generate a health summary for each service instance. Needs n+1 queries to collect all information. Choices:
|
|
Config for HTTP/2 support. Keys and values are the same as in consul_exporter docs. |
|
Regex that determines which keys to expose |
|
Prefix from which to expose key/value pairs |
|
Local path to stash the archive and its extraction Default: |
|
Output format of log messages Choices:
|
|
Only log messages with the given severity or above Choices:
|
|
Regex that determines which meta keys to expose |
|
Limit the maximum number of concurrent requests to consul, 0 means no limit Default: |
|
Forces the read to be fully consistent Choices:
|
|
HTTP API address of a Consul server or agent. Default: |
|
Advanced System group for consul_exporter Default: |
|
Advanced consul exporter user Default: |
|
Timeout on HTTP requests to the Consul API Default: |
|
Configuration for TLS authentication. Keys and values are the same as in consul_exporter docs. |
|
consul exporter package version. Also accepts latest as parameter. Default: |
|
Address on which consul_exporter will listen Default: |
|
Path under which to expose metrics Default: |