prometheus.prometheus.mysqld_exporter role – Prometheus MySQLd 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.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: |
|
URL of the mysqld_exporter binaries .tar.gz file Default: |
|
URL of the mysqld_exporter checksums file Default: |
|
Path to directory with mysqld_exporter configuration 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. |
|
Local path to stash the archive and its extraction Default: |
|
The password for MySQL login Default: |
|
The target MySQL port |
|
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: |