Commit graph

14 commits

Author SHA1 Message Date
Marcus Klein
066188f60f Use variables from ansible_facts
to allow ANSIBLE_INJECT_FACT_VARS to become false

Signed-off-by: Marcus Klein <marcus.klein@open-xchange.com>
2025-01-13 09:18:50 +01:00
prombot
6f234adc94 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-12-10 14:38:59 +00:00
gardar
d7ed763594
removed: Drop Fedora support and testing in favor of EL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-18 13:41:24 +00:00
gardar
3259947a89
refactor(cadvisor): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:03:59 +00:00
gardar
7be1f09b9c
fix: add Ubuntu 24.04 to supported platforms
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
93d4e2b672
fix: replace EOL Fedora versions with current ones
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
f668cd0ac4
removed: drop centos 7 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
94fb802ec2
removed: drop debian 10 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:13 +00:00
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
github-actions[bot]
ffa7ad9add
patch: 🎉 automated upstream release update (#317)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2024-03-20 16:45:30 +01:00
Oleg Klyuchkin
a7305a5d07
docs: ✏️ cadvisor - remove trailing space
Signed-off-by: Oleg Klyuchkin <anviar@users.noreply.github.com>
2024-03-06 21:31:29 +03:00
Oleg Klyuchkin
92cfd70d49
feat: cadvisor - options to enable\disable metrics and docker-only mode
Signed-off-by: Oleg Klyuchkin <anviar@users.noreply.github.com>
2024-03-06 21:19:28 +03:00
Mark Tomich
d25f772f5f adding *_archive_path by request
Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-29 13:21:57 -05:00
SuperQ
9e8cdccba6
feat: Add cadvisor role
Add a role to deploy https://github.com/google/cadvisor.

Signed-off-by: SuperQ <superq@gmail.com>
2024-01-08 17:51:09 +01:00