Bug 1997034 - Drop high cardinality cAdvisor metrics
Summary: Drop high cardinality cAdvisor metrics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.9.0
Assignee: Philip Gough
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1999057 1999072 1999074
TreeView+ depends on / blocked
 
Reported: 2021-08-24 09:37 UTC by Philip Gough
Modified: 2021-10-18 17:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1999057 (view as bug list)
Environment:
Last Closed: 2021-10-18 17:48:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 1291 0 None None None 2021-09-03 09:37:27 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:48:37 UTC

Description Philip Gough 2021-08-24 09:37:53 UTC
Description of problem:

To reduce the overall memory consumption of Prometheus, we can drop unused cAdvisor metrics with high cardinality.

Version-Release number of selected component (if applicable):

4.9


Additional info:

This can be verified by a before and after query: count({metrics_path="/metrics/cadvisor"})

Comment 1 Junqi Zhao 2021-08-30 08:49:53 UTC
tested with 4.9.0-0.nightly-2021-08-29-010334
with the fix, the count of the cadvisor metrics is less than that without the fix
count({metrics_path="/metrics/cadvisor"})
{} 46166

without the fix
count({metrics_path="/metrics/cadvisor"})
{} 56388

Comment 8 errata-xmlrpc 2021-10-18 17:48:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759


Note You need to log in before you can comment on or make changes to this bug.