I'm using the latest prometheus 2.21.0 and latest node-exporter
Trying to run the query and getting no datapoints found however both metrics kube_pod_container_resource_limits_memory_bytes
and node_memory_MemTotal_bytes
are working independently and return data
(sum(kube_pod_container_resource_limits_memory_bytes) / :node_memory_MemTotal_bytes:sum)*100
So two questions
:node_memory_MemTotal_bytes:sum
- is it valid prometheus query?:node_memory_MemTotal_bytes:sum
does return data then you'll probably have to add sum
there too to remove any remaining labels there