Bug 1457933 - missing RSS and Cache metrics on my Heapster / OCP
Summary: missing RSS and Cache metrics on my Heapster / OCP
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.9.0
Assignee: Thomas Heute
QA Contact: Xiaoli Tian
URL:
Whiteboard:
: 1485504 1491398 (view as bug list)
Depends On:
Blocks: 1456856
TreeView+ depends on / blocked
 
Reported: 2017-06-01 15:03 UTC by Yaacov Zamir
Modified: 2022-03-13 14:18 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-12 15:39:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/kubernetes heapster pull 1670 0 None None None 2020-06-25 19:18:24 UTC

Description Yaacov Zamir 2017-06-01 15:03:04 UTC
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

Comment 1 Matt Wringe 2017-06-01 19:56:27 UTC
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?

Comment 2 Solly Ross 2017-06-01 20:02:48 UTC
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.

Comment 3 Solly Ross 2017-06-01 20:03:29 UTC
(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).

Comment 5 Juraci Paixão Kröhling 2017-07-14 15:01:19 UTC
Closing this as deferred, as this affects components that might soon become (or have recently became) deprecated.

Comment 6 Yaacov Zamir 2017-09-04 11:19:07 UTC
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.

Comment 8 Ryan Howe 2017-09-07 17:38:26 UTC
Does this merge fix the issue? 

https://github.com/kubernetes/heapster/pull/1670

Comment 9 Eric Rich 2017-09-07 18:20:49 UTC
This may be connected to https://bugzilla.redhat.com/show_bug.cgi?id=1485504

Comment 11 Matt Wringe 2017-09-07 21:06:35 UTC
*** Bug 1485504 has been marked as a duplicate of this bug. ***

Comment 12 Matt Wringe 2017-09-13 18:37:57 UTC
*** Bug 1491398 has been marked as a duplicate of this bug. ***

Comment 13 Robin Williams 2017-10-18 08:20:10 UTC
Are you saying you are not going to fix this issue?

I don't understand.

Comment 14 Matt Wringe 2017-10-18 13:13:59 UTC
(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.

Comment 15 Solly Ross 2017-10-18 13:29:54 UTC
(side note: at least RSS is in a newever version of Heapster, so it should *eventually* make its way into OpenShift)

Comment 16 Robin Williams 2017-10-18 13:39:30 UTC
(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

Comment 17 Takayoshi Kimura 2017-10-31 01:51:23 UTC
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.


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