prometheus.prometheus.mysqld_exporter role – Prometheus MySQLd Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.12.1).
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.mysqld_exporter
.
Entry point main
– Prometheus MySQLd Exporter
Synopsis
Deploy prometheus mysqld_exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install mysqld_exporter binary Default: |
|
Enables the use of local packages instead of those distributed on github. The parameter may be set to a directory where the This overrides the mysqld_exporter_version parameter |
|
URL of the mysqld_exporter binaries .tar.gz file Default: |
|
URL of the mysqld_exporter checksums file Default: |
|
The path where exporter configuration is stored Default: |
|
The filename of the exporter mysql config file Default: |
|
List of disabled collectors. By default mysqld_exporter disables collectors listed here. |
|
List of dicts defining additionally enabled collectors and their configuration. It adds collectors to those enabled by default. Default: |
|
The target MySQL host |
|
Config for HTTP/2 support. Keys and values are the same as in mysqld_exporter docs. |
|
The password for MySQL login Default: |
|
The target MySQL port |
|
MySQLd installation tasks gets skipped when set to true. Choices:
|
|
The target MySQL unix socket Default: |
|
Advanced System group for MySQLd Exporter Default: |
|
Advanced MySQLd Exporter user Default: |
|
Configuration for TLS authentication. Keys and values are the same as in mysqld_exporter docs. |
|
The username for MySQL login Default: |
|
MySQLd exporter package version. Also accepts latest as parameter. Default: |
|
Address on which mysqld_exporter will listen Default: |
|
Path under which to expose metrics Default: |