prometheus.prometheus.elasticsearch_exporter role – Prometheus Elasticsearch Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.27.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.elasticsearch_exporter
.
Entry point main
– Prometheus Elasticsearch Exporter
Synopsis
Deploy prometheus elasticsearch exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install elasticsearch_exporter binary Default: |
|
URL of the elasticsearch exporter binaries .tar.gz file Default: |
|
URL of the elasticsearch exporter checksums file Default: |
|
Path to directory with elasticsearch_exporter configuration Default: |
|
List of disabled collectors. By default elasticsearch_exporter disables collectors listed here. |
|
List of dicts defining additionally enabled collectors and their configuration. It adds collectors to those enabled by default. Default: |
|
Advanced Elasticsearch exporter cli extra arguments to be added to systemd unit Default: |
|
Config for HTTP/2 support. Keys and values are the same as in elasticsearch_exporter docs. |
|
Local path to stash the archive and its extraction Default: |
|
Advanced System group for elasticsearch exporter Default: |
|
Advanced Elasticsearch exporter user Default: |
|
Directory used by the Textfile Collector. To get permissions to write metrics in this directory, users must be in Note: More information in TROUBLESHOOTING.md guide. Default: |
|
Configuration for TLS authentication. Keys and values are the same as in elasticsearch_exporter docs. |
|
Elasticsearch exporter package version. Also accepts latest as parameter. Default: |
|
Exclude metrics about the exporter itself (promhttp_*, process_*, go_*). Choices:
|
|
Address on which elasticsearch exporter will listen Default: |
|
Path under which to expose metrics Default: |