prometheus.prometheus.cadvisor role – cAdvisor
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.cadvisor
.
Entry point main
– cAdvisor
Synopsis
Deploy cadvisor using ansible
Parameters
Parameter |
Comments |
---|---|
Advanced Directory to install binaries Default: |
|
URL of the cadvisor binary file Default: |
|
comma-separated list of metrics to be disabled (default advtcp,cpu_topology,cpuset,hugetlb,memory_numa,process,referenced_memory,resctrl,sched,tcp,udp) Choices:
Default: |
|
do not report raw cgroup metrics, except the root cgroup Choices:
|
|
comma-separated list of metrics to be enabled. If set, overrides ‘cadvisor_disable_metrics’ Choices:
Default: |
|
comma-separated list of env variables to be used as labels on prometheus metrics Default: |
|
Address on which cadvisor will listen Default: |
|
Local path to stash the archive and its extraction Default: |
|
Port on which cadvisor will listen Default: |
|
Path under which to expose metrics Default: |
|
store all container labels Choices:
|
|
Advanced System group for cadvisor Default: |
|
Advanced cAdvisor user Default: |
|
cAdvisor package version. Also accepts latest as parameter. Default: |
|
comma-separated list of container labels to be used as labels on prometheus metrics Default: |