Skip to content

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

@Abdellah91

Description

@Abdellah91

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions