mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 14:24:25 +00:00
894db57168
Signed-off-by: gardar <gardar@users.noreply.github.com> |
||
---|---|---|
.. | ||
defaults | ||
handlers | ||
meta | ||
molecule/default | ||
tasks | ||
templates | ||
vars | ||
README.md |
Ansible Role: process_exporter
Description
Deploy process-exporter using ansible.
Note. This repository and role uses the name process_exporter to conform with ansible galaxy constraints.
Requirements
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
Role Variables
All variables which can be overridden are stored in defaults/main.yml file as well as in table below.
Name | Default Value | Description |
---|---|---|
process_exporter_version |
0.7.5 | Process exporter package version. Also accepts latest as parameter |
process_exporter_web_listen_address |
"0.0.0.0:9256" | Address on which process_exporter will listen |
process_exporter_config_dir |
"/etc/process_exporter" | Path to directory with process_exporter configuration |
process_exporter_names handling has been set up in an unusual way to handle recommended process-exporter 'Template variables' (such as {{.Comm}}). Follow the example in defaults/main.yml if you want to define custom filtering/grouping of processes that use Template variables and make sure to keep the {% raw %} block delimiters. |
Example
Playbook
Use it in a playbook as follows:
- hosts: all
roles:
- prometheus.prometheus.process_exporter
Contributing
Troubleshooting
See troubleshooting.
License
This project is licensed under MIT License. See LICENSE for more details.