![Piotr Parczewski](/assets/img/avatar_default.png)
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
12 lines
345 B
Django/Jinja
12 lines
345 B
Django/Jinja
{
|
|
"command": "/opt/cadvisor --port={{ prometheus_cadvisor_port }} --log_dir=/var/log/kolla/prometheus {{ prometheus_cadvisor_cmdline_extras }}",
|
|
"config_files": [],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/prometheus",
|
|
"owner": "prometheus:prometheus",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|