Description of problem: I am missing two metrics on my Heapster / OCP 4. memory/cache Cache memory usage. 5. memory/rss Resident Set Size memory usage. This fields do not exist on my system ( openshift/origin-metrics-heapster:latest started Tue, 16 May 2017 ) oc v1.5.0 kubernetes v1.5.2+43a9be4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://example.com:8443 openshift v1.5.0 kubernetes v1.5.2+43a9be4 What am I missing, do you know why we do not have this fields ? See BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1456856
I don't believe those are available from the summary API that Heapster is currently configured to use. They are available from the stats API. @solly: do you know if there are plans to include this with the summary API?
they should be availble from the summary API itself, I believe (see https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/stats/v1alpha1/types.go#L182), but they're not collected by Heapster when it queries the summary API (see https://github.com/kubernetes/heapster/blob/master/metrics/sources/summary/summary.go#L246). Right now, the only way to get them would be to use the non-summary source (NOT RECOMMENDED), or potentially to query the summary API directly.
(I know of no plans to support pulling those stats from the summary API, but it seems trivial enough that I'd welcome a patch).
Closing this as deferred, as this affects components that might soon become (or have recently became) deprecated.
Re-opening, The bug on ManageIQ for this metrics is in need info: https://bugzilla.redhat.com/show_bug.cgi?id=1456856 p.s. Testing latest version of of openshift/origin-metrics-heapster ( pushed at the end of august ) does not have the rss endpoint in it's summary endpoint. We need the Openshift team help on that.
Does this merge fix the issue? https://github.com/kubernetes/heapster/pull/1670
This may be connected to https://bugzilla.redhat.com/show_bug.cgi?id=1485504
*** Bug 1485504 has been marked as a duplicate of this bug. ***
*** Bug 1491398 has been marked as a duplicate of this bug. ***
Are you saying you are not going to fix this issue? I don't understand.
(In reply to Robin Williams from comment #13) > Are you saying you are not going to fix this issue? > > I don't understand. This is a feature request/RFE and its not something we have planned for our current metrics roadmap. This is going to be deferred to a later date.
(side note: at least RSS is in a newever version of Heapster, so it should *eventually* make its way into OpenShift)
(In reply to Robin Williams from comment #13) > Are you saying you are not going to fix this issue? > > I don't understand. Sorry - my comment was added to wrong bug
Reopening this issue to see if we plan this for 3.8+ releases. The RSS mertics in heapster seems to be available in heapster 1.4 / Kubernetes 1.7.