prometheus.prometheus.pgbackrest_exporter role – Prometheus pgbackrest Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.29.2).
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.pgbackrest_exporter.
Entry point main – Prometheus pgbackrest Exporter
Synopsis
Deploy prometheus pgbackrest_exporter using ansible
Parameters
Parameter |
Comments |
|---|---|
Path to include additional pgBackRest configuration files. |
|
Filter backups by type. Can be specified several times. Choices:
|
|
Full path to pgBackRest configuration file. Default: |
|
Exposing the number of databases in backups. Choices:
|
|
Exposing the number of databases in the latest backups. Choices:
|
|
Number of parallel processes for collecting information about databases. Default: |
|
Exposing the number of references to other backups (backup reference list). Choices:
|
|
Specific stanza to exclude from collecting metrics. Can be specified several times. |
|
Specific stanza for collecting metrics. Can be specified several times. |
|
Exposing additional labels for WAL metrics. Choices:
|
|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install binaries Default: |
|
URL of the pgbackrest_exporter binaries .tar.gz file Default: |
|
URL of the pgbackrest_exporter checksums file Default: |
|
Enable pgBackRest collector. When disabled, only pgBackRest version and exporter build info are collected. Choices:
|
|
Collecting metrics interval in seconds. Default: |
|
Path to directory with pgbackrest_exporter configuration Default: |
|
Config for HTTP/2 support. Keys and values are the same as in pgbackrest_exporter docs. |
|
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:
|
|
Advanced System group for pgbackrest_exporter Default: |
|
Advanced pgbackrest exporter user Default: |
|
Configuration for TLS authentication. Keys and values are the same as in pgbackrest_exporter docs. |
|
pgbackrest exporter package version. Also accepts latest as parameter. Default: |
|
Address on which pgbackrest_exporter will listen Default: |
|
Path under which to expose metrics Default: |