diff options
| author | Piotr Parczewski <piotr@stackhpc.com> | 2021-07-08 16:31:44 +0200 |
|---|---|---|
| committer | Piotr Parczewski <piotr@stackhpc.com> | 2021-07-08 16:31:44 +0200 |
| commit | c2ae21fd97beb987991eb68c6c306c607e4d9d78 (patch) | |
| tree | ef27beb996266295f2cf5e98856b2465ab4b3917 /etc | |
| parent | 2ecf0a8783a71777ab1082329bb3ae778f41e949 (diff) | |
| download | kolla-ansible-c2ae21fd97beb987991eb68c6c306c607e4d9d78.tar.gz kolla-ansible-c2ae21fd97beb987991eb68c6c306c607e4d9d78.zip | |
Reduce container metrics cardinality
Adds support for passing extra runtime options to cAdvisor.
By default new options disable exporting rarely useful metrics
and labels by cAdvisor. This helps reducing the load on Prometheus
and cAdvisor itself.
Change-Id: I81f3845d6cd03a70a0c8569f8d0ea421027df083
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/kolla/globals.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index ed8fb12a4..c01eeb943 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -702,6 +702,10 @@ # List of extra parameters passed to prometheus. You can add as many to the list. #prometheus_cmdline_extras: +# List of extra parameters passed to cAdvisor. By default system cgroups +# and container labels are not exposed to reduce time series cardinality. +#prometheus_cadvisor_cmdline_extras: "--docker_only --store_container_labels=false --disable_metrics=percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process" + # Example of setting endpoints for prometheus ceph mgr exporter. # You should add all ceph mgr's in your external ceph deployment. #prometheus_ceph_mgr_exporter_endpoints: |
