aboutsummaryrefslogtreecommitdiff
path: root/releasenotes/notes/reduce-cadvisor-cardinality-1213854b9fe0c828.yaml
blob: aa2e115ad4cfd17f75266505d4cae5df1d7dd9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
features:
  - |
    Adds support for passing extra runtime options to cAdvisor via
    ``prometheus_cadvisor_cmdline_extras`` new variable. By default
    system cgroups' metrics are disabled, plus container labels
    don't get exposed to Prometheus. Expensive metrics that usually
    should not be exported are also enforced to be disabled - consult
    `<https://github.com/google/cadvisor/blob/master/docs/runtime_options.md#metrics>`_
    for a list. These defaults create savings in resources usage by both
    cAdvisor and Prometheus.
upgrade:
  - |
    cAdvisor has now reduced number of Prometheus metrics and labels
    exported by default. This means that corresponding timeseries will
    no longer be created. If existing setup relies on these, e.g. for
    visualisation or alerting, they could be explicitly enabled prior to
    upgrading with the ``prometheus_cadvisor_cmdline_extras`` new variable.
    Reference for the possible options: `<https://github.com/google/cadvisor/blob/master/docs/runtime_options.md#metrics>`_.