ansible-collection-prometheus/roles
Bryan Quigley 39eddc920e enhancement: adding env, container labels options
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>
2024-09-13 12:35:22 +00:00
..
alertmanager Merge pull request #301 from mark-tomich/main 2024-03-05 15:08:32 +00:00
bind_exporter fix: bind_exporter multiple listen addresses definition 2024-02-23 22:04:27 +03:00
blackbox_exporter [fix] (blackblox-exporter) Update hardcoded install path 2024-05-14 14:24:15 +02:00
cadvisor enhancement: adding env, container labels options 2024-09-13 12:35:22 +00:00
chrony_exporter patch: 🎉 automated upstream release update (#391) 2024-07-03 09:26:33 +02:00
fail2ban_exporter Merge pull request #301 from mark-tomich/main 2024-03-05 15:08:32 +00:00
ipmi_exporter fix(ipmi_exporter): add option to impi_exporter service to allow tmp file creation (#311) 2024-03-06 11:35:01 +01:00
memcached_exporter patch: 🎉 automated upstream release update 2024-09-13 11:20:05 +00:00
mongodb_exporter Expilicitly set no direct connect and no global connection pool 2024-04-09 12:55:03 +00:00
mysqld_exporter adding *_archive_path by request 2024-02-29 13:21:57 -05:00
nginx_exporter patch: 🎉 automated upstream release update 2024-07-25 14:30:39 +00:00
node_exporter patch: 🎉 automated upstream release update 2024-09-13 11:23:44 +00:00
postgres_exporter adding *_archive_path by request 2024-02-29 13:21:57 -05:00
process_exporter patch: 🎉 automated upstream release update 2024-07-22 14:31:45 +00:00
prometheus patch: 🎉 automated upstream release update 2024-08-28 14:32:02 +00:00
pushgateway patch: 🎉 automated upstream release update (#381) 2024-06-10 09:04:09 +02:00
redis_exporter patch: 🎉 automated upstream release update 2024-09-09 14:36:27 +00:00
smartctl_exporter patch: 🎉 automated upstream release update (#316) 2024-03-20 16:45:14 +01:00
smokeping_prober patch: 🎉 automated upstream release update 2024-04-09 10:58:16 +00:00
snmp_exporter patch: 🎉 automated upstream release update (#359) 2024-05-11 16:54:24 +02:00
systemd_exporter adding *_archive_path by request 2024-02-29 13:21:57 -05:00