ansible-collection-prometheus/roles/process_exporter
gardar 143e66d78c
minor: allow configuring temporary dir for binary archive
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-03-08 20:41:26 +00:00
..
defaults minor: allow configuring temporary dir for binary archive 2024-03-08 20:41:26 +00:00
handlers feat: add process_exporter role 2024-03-08 20:41:24 +00:00
meta minor: allow configuring temporary dir for binary archive 2024-03-08 20:41:26 +00:00
molecule fix: add missing alternative/latest molecule scenarios 2024-03-08 20:41:26 +00:00
tasks minor: allow configuring temporary dir for binary archive 2024-03-08 20:41:26 +00:00
templates feat: add tls/http/basic auth web config 2024-03-08 20:41:26 +00:00
vars fix: url/binary names 2024-03-08 20:41:25 +00:00
README.md feat: add process_exporter role 2024-03-08 20:41:24 +00:00

Ansible Role: process_exporter

Build Status License Ansible Role GitHub tag

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

See contributor guideline.

Troubleshooting

See troubleshooting.

License

This project is licensed under MIT License. See LICENSE for more details.