prometheus.prometheus.systemd_exporter role – Prometheus Systemd Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.23.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.systemd_exporter
.
Entry point main
– Prometheus Systemd Exporter
Synopsis
Deploy prometheus systemd exporter using ansible.
Parameters
Parameter |
Comments |
---|---|
Advanced Directory to install systemd_exporter binary Default: |
|
URL of the systemd exporter binaries .tar.gz file” Default: |
|
URL of the systemd exporter checksums file Default: |
|
Path to directory with systemd_exporter configuration Default: |
|
Enables file descriptor size metrics. This feature will cause exporter to run as root as it needs access to /proc/X/fd” Choices:
|
|
Enables service ip accounting metrics. This feature only works with systemd 235 and above” Choices:
|
|
Enables service restart count metrics. This feature only works with systemd 235 and above” Choices:
|
|
Local path to stash the archive and its extraction Default: |
|
Only log messages with the given severity or above. |
|
Advanced System group for systemd exporter Default: |
|
Advanced Systemd exporter user Default: |
|
Configuration for TLS authentication. Keys and values are the same as in Prometheus docs. |
|
Exclude some systemd units. Expects a regex. More in systemd_exporter docs. |
|
Include some systemd units. Expects a regex. More in systemd_exporter docs. |
|
SystemD exporter package version. Also accepts latest as parameter. Default: |
|
Address on which systemd exporter will listen” Default: |