Bug 1997034
| Summary: | Drop high cardinality cAdvisor metrics | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Philip Gough <pgough> | |
| Component: | Monitoring | Assignee: | Philip Gough <pgough> | |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | |
| Severity: | low | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 4.9 | CC: | amuller, anpicker, aos-bugs, arajkuma, erooth | |
| Target Milestone: | --- | |||
| Target Release: | 4.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1999057 (view as bug list) | Environment: | ||
| Last Closed: | 2021-10-18 17:48:10 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1999057, 1999072, 1999074 | |||
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
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 |
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"})