All Projects → cloudalchemy → ansible-process_exporter

cloudalchemy / ansible-process_exporter

Licence: MIT license
Provision process exporter for prometheus monitoring tool

Programming Languages

python
139335 projects - #7 most used programming language
Jinja
831 projects

Projects that are alternatives of or similar to ansible-process exporter

Github Exporter
Prometheus exporter for github metrics
Stars: ✭ 231 (+1343.75%)
Mutual labels:  exporter, prometheus-exporter
jmx exporter-cloudera-hadoop
Prometheus jmx_exporter configurations for Cloudera Hadoop
Stars: ✭ 33 (+106.25%)
Mutual labels:  exporter, prometheus-exporter
mq-java-exporter
Exporter for IBM MQ metrics https://prometheus.io/
Stars: ✭ 19 (+18.75%)
Mutual labels:  exporter, prometheus-exporter
geoip-exporter
GeoIP exporter for Prometheus
Stars: ✭ 27 (+68.75%)
Mutual labels:  exporter, prometheus-exporter
Kminion
KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
Stars: ✭ 274 (+1612.5%)
Mutual labels:  exporter, prometheus-exporter
Exporterhub.io
A Curated List of Prometheus Exporters
Stars: ✭ 252 (+1475%)
Mutual labels:  exporter, prometheus-exporter
prometheus-barman-exporter
Barman exporter for Prometheus
Stars: ✭ 23 (+43.75%)
Mutual labels:  exporter, prometheus-exporter
Druid Exporter
A Golang based exporter captures druid API related metrics and receives druid-emitting HTTP JSON data.
Stars: ✭ 54 (+237.5%)
Mutual labels:  exporter, prometheus-exporter
lustre exporter
Prometheus exporter for use with the Lustre parallel filesystem
Stars: ✭ 25 (+56.25%)
Mutual labels:  exporter, prometheus-exporter
gethexporter
Monitor your Geth Ethereum Server with Prometheus and Grafana
Stars: ✭ 103 (+543.75%)
Mutual labels:  prometheus-exporter
version exporter
Monitor the versions of the things you run and care about
Stars: ✭ 16 (+0%)
Mutual labels:  prometheus-exporter
prometheus-async
Async helpers for prometheus_client.
Stars: ✭ 136 (+750%)
Mutual labels:  prometheus-exporter
pidswallow
A swallower script using process hierarchy.
Stars: ✭ 40 (+150%)
Mutual labels:  process
tado-exporter
A Prometheus exporter for tado smart heating solution
Stars: ✭ 32 (+100%)
Mutual labels:  prometheus-exporter
bamboo-prometheus-exporter
Prometheus Exporter For Bamboo
Stars: ✭ 18 (+12.5%)
Mutual labels:  prometheus-exporter
pagerduty-exporter
Prometheus exporter for PagerDuty informations
Stars: ✭ 38 (+137.5%)
Mutual labels:  prometheus-exporter
rpi exporter
A Raspberry Pi CPU temperature exporter.
Stars: ✭ 57 (+256.25%)
Mutual labels:  prometheus-exporter
sql-to-redis
🔄 Simple tool for ETL. From SQL to Redis.
Stars: ✭ 18 (+12.5%)
Mutual labels:  exporter
dex
Prometheus Docker EXporter
Stars: ✭ 19 (+18.75%)
Mutual labels:  prometheus-exporter
node exporter
Exporter for machine metrics
Stars: ✭ 7,897 (+49256.25%)
Mutual labels:  prometheus-exporter

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.7 (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 see: defaults/main.yml Processes which should be monitored. Syntax is the same as in https://github.com/ncabatoff/process-exporter#using-a-config-file Default is consistent with deb/rpm packages.

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:
    - cloudalchemy.process_exporter

Local Testing

The preferred way of locally testing the role is to use Docker and molecule (v2.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable to for your system. We are using tox to simplify process of testing on multiple ansible versions. To install tox execute:

pip3 install tox

To run tests on all ansible versions (WARNING: this can take some time)

tox

To run a custom molecule command on custom environment with only default test scenario:

tox -e py35-ansible28 -- molecule test -s default

For more information about molecule go to their docs.

If you would like to run tests on remote docker host just specify DOCKER_HOST variable before running tox tests.

Travis CI

Combining molecule and travis CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows use to create test scenarios for different role configurations. As a result we have a quite large test matrix which will take more time than local testing, so please be patient.

Contributing

See contributor guideline.

Troubleshooting

See troubleshooting.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].