jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

response of api/metrics/v1 does not contain cpu metric

Open Abdellah91 opened this issue 4 years ago • 2 comments

Hello, I installed plugin jupyter-resource-usage on a jupyterhub. the jupyterhub is deployed via helm chart on kubernetes cluster. When a request is sent to /api/metrics/v1 the response is {"rss": 112574464, "limits": {"memory": {"rss": 2147483648, "warn": false}}}. In the values.yml, of the jupyterhub helm chart config I have: hub: extraConfig: firstConfig.py: | c.ResourceUseDisplay.track_cpu_percent = True

Do you know why the cpu metric is not in the response of the api call?

Abdellah91 avatar Nov 26 '21 09:11 Abdellah91

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Nov 26 '21 09:11 welcome[bot]