mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 06:14:13 +00:00
39eddc920e
Add following - cadvisor_env_metadata_whitelist - cadvisor_whitelisted_container_labels - cadvisor_store_container_labels Tested with this simple playbook: --- - name: Install cAdvisor hosts: localhost become: yes tasks: - name: Import cAdvisor role import_role: name: cadvisor vars: cadvisor_docker_only: true cadvisor_enable_metrics: [ "cpu", "memory", "network", "oom_event" ] cadvisor_whitelisted_container_labels: [ "com.docker.compose.oneoff" ] cadvisor_env_metadata_whitelist: [ "JEKYLL_ENV", "PATH" ] cadvisor_store_container_labels: false Also tested dropping the options, which is why I decided to explicitly set store_container_labels: true (which is the cadvisor default). Closes: #403 Signed-off-by: Bryan Quigley <code@bryanquigley.com> |
||
---|---|---|
.. | ||
alertmanager | ||
bind_exporter | ||
blackbox_exporter | ||
cadvisor | ||
chrony_exporter | ||
fail2ban_exporter | ||
ipmi_exporter | ||
memcached_exporter | ||
mongodb_exporter | ||
mysqld_exporter | ||
nginx_exporter | ||
node_exporter | ||
postgres_exporter | ||
process_exporter | ||
prometheus | ||
pushgateway | ||
redis_exporter | ||
smartctl_exporter | ||
smokeping_prober | ||
snmp_exporter | ||
systemd_exporter |