prometheus.prometheus.process_exporter role – Prometheus Process 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.process_exporter.

Entry point main – Prometheus Process exporter

Synopsis

Parameters

Parameter

Comments

process_exporter_basic_auth_users

dictionary

Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt.

process_exporter_binary_install_dir

string

Advanced

Directory to install process_exporter binary

Default: "/usr/local/bin"

process_exporter_binary_url

string

URL of the Process exporter binaries .tar.gz file

Default: "https://github.com/{{ _process_exporter_repo }}/releases/download/v{{ process_exporter_version }}/process-exporter-{{ process_exporter_version }}.{{ ansible_system | lower }}-{{ _process_exporter_go_ansible_arch }}.tar.gz"

process_exporter_checksums_url

string

URL of the Process exporter checksums file

Default: "https://github.com/{{ _process_exporter_repo }}/releases/download/v{{ process_exporter_version }}/checksums.txt"

process_exporter_config_dir

string

Path to directory with process_exporter configuration

Default: "/etc/process_exporter"

process_exporter_http_server_config

dictionary

Config for HTTP/2 support.

process_exporter_local_cache_path

string

Local path to stash the archive and its extraction

Default: "/tmp/process_exporter-{{ ansible_system | lower }}-{{ _process_exporter_go_ansible_arch }}/{{ process_exporter_version }}"

process_exporter_names

string

Processes which should be monitored.

Syntax is the same as in

using-a-config-file Default is consistent with deb/rpm packages

Default: "[{name: '{{.Comm}}', cmdline: [.+]}]"

process_exporter_system_group

string

Advanced

System group for Process exporter

Default: "process-exp"

process_exporter_system_user

string

Advanced

Process exporter user

Default: "process-exp"

process_exporter_tls_server_config

dictionary

Configuration for TLS authentication.

process_exporter_version

string

Process exporter package version. Also accepts latest as parameter.

Default: "0.8.4"

process_exporter_web_listen_address

string

Address on which Process exporter will listen

Default: "0.0.0.0:9256"

process_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

Authors

  • Prometheus Community