-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Resource Usage Roadmap #58
Comments
May also need to reflect official clients in the roadmap (i.e. statusbar) Specifically - this endpoint will need to change: Noting it here since it is a cross repo change. |
Thanks @shreddd, added to the list. |
Given that per kernel metrics are in high demand, could we consider the possibility that this be baked directly into jupyter_server? Moreover, I'd love to see the kernel metrics just extend the existing kernel activity API, with either extending The server metrics could remain at We'll also want to plumb the gathering of metrics into It feels like multiple metrics implementations are popping up and it would be good to have a single destination/goal of where this should land. |
Yes absolutely 👍 For now it was still unclear whether this should stay in its own project until it matures, be moved to the Also
It sounds like extending the existing kernel endpoints would be convenient.
Should we list these other metrics implementations (for example in this issue) so we can keep an eye of them? +1 for having a single source of truth for gathering kernel and server metrics. |
Awesome, it sounds like we're on the same page here!
Actually, I may be conflating the discussion from the lab issue and your work in jupyterlab-system-monitor with nbresuse a bit. But there was this thread of discussion in jupyter_client - which derived from another in notebook. Not to mention this Kernel Gateway question - but that's nbreuse-based as well. So, although there may not be lots of implementations, there is definitely lots of interest and this should find its way into the server at some point. |
+1 for baking this into |
A candidate for now could be the recent jupyter-server organization, as a new home for this repo? |
Let's keep discussions on what to do next with
nbresuse
in this meta issue./metrics
endpoint to keep backward compatibility for the0.3.x
releases: Adding support for jupyterlab statusbar-extension #36 #45yuvipanda
or more to another GitHub organization (or move to Jupyter Server)? Seeking new maintainers #24 -> moved to https://github.com/jupyter-server/jupyter-resource-usage/metrics
endpoint for the0.3.x
releases to not break backward compatibility with the lab status bar and other extensions that rely on nbresuse.DropDeprecate the/metrics
endpoint in0.4.x
so it doesn't shadow the Prometheus endpoint anymore: Soft-deprecate /metrics endpoint #680.3.x
release or in0.4.x
: add a new/api/metrics/v1
endpoint to retrieve the metrics as JSON (just like the current/metrics
endpoint). However the format of the response is still to be defined - Add a new /api/nbresuse/v1 endpoint #52 - new endpoint added in Soft-deprecate /metrics endpoint #68Change the endpoint used in the JupyterLab status bar: https://github.com/jupyterlab/jupyterlab/blob/4fe4dcfe5c9dc329bed2dcf2602f569ddef8a8a0/packages/statusbar/src/defaults/memoryUsage.tsx#L291-> remove from core lab and create a federated lab extension fornbresuse
: Add a JupyterLab extension for the memory usage status bar item #69/metrics
endpoint: Drop the deprecated /metrics endpoint #75psutil
).The text was updated successfully, but these errors were encountered: