jupyter-resource-usage
jupyter-resource-usage copied to clipboard
response of api/metrics/v1 does not contain cpu metric
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?
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.
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: