Bug 1755240 - node:node_memory_bytes_available:sum recording rule is not available
Summary: node:node_memory_bytes_available:sum recording rule is not available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.3.0
Assignee: Sergiusz Urbaniak
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1755242
TreeView+ depends on / blocked
 
Reported: 2019-09-25 07:21 UTC by Sergiusz Urbaniak
Modified: 2020-05-13 21:25 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1755242 (view as bug list)
Environment:
Last Closed: 2020-05-13 21:25:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 490 0 'None' closed Bug 1755240: jsonnet/rules: fix memory_usage_bytes recording rule 2020-06-11 10:08:20 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-05-13 21:25:13 UTC

Description Sergiusz Urbaniak 2019-09-25 07:21:50 UTC
Description of problem:

Clusters don't report memory usage via telemetry.

How reproducible:

https://infogw-cache.api.openshift.com/graph?g0.range_input=1h&g0.expr=count(count%20by%20(_id)(cluster%3Acpu_usage_cores%3Asum))&g0.tab=1&g1.range_input=1h&g1.expr=count(count%20by%20(_id)(cluster%3Amemory_usage_bytes%3Asum))&g1.tab=1

Slack discussion: https://coreos.slack.com/archives/CEG5ZJQ1G/p1569333490049400

Expected results:

Memory metrics are being reported.

Additional info:

https://github.com/openshift/cluster-monitoring-operator/pull/456 replaced the deprecated kube-prometheus node mixins with node mixins from node exporter.

The latter does not include the `node:node_memory_bytes_total:sum`/`node:node_memory_bytes_available:sum` recording rule, it has to be replaced with `node_memory_MemTotal_bytes{job="node-exporter"}`/` node_memory_MemAvailable_bytes{job="node-exporter"}`.

Comment 3 Viacheslav 2019-10-04 11:37:13 UTC
Fixed.

4.2.0-0.nightly-2019-10-04-015220

Comment 7 errata-xmlrpc 2020-05-13 21:25:09 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, 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/RHBA-2020:0062


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