-
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
Adding support for jupyterlab statusbar-extension #36 #45
Conversation
How about something like the following timeline?
Users with JupyterLab <= 2.x will need The main issue is to be able to deal with all the breaking changes and what is currently implemented in core JupyterLab. cc @krinsman if you have any input on this |
LGTM. |
@Gsbreddy I'm pushing a couple of fixes to:
Also CI doesn't seem to be triggered, fixing that separately. |
What about the |
Yes, but since we can't yank 0.3.4 at the moment the only option seems to be adding the endpoint back, and releasing 0.3.5. So it's still compatible with older clients for a little while. |
We can probably do that separately, especially if we bring back We can also bring back the CPU metrics to the API endpoint since it was available in 0.3.3. |
Will push a commit to handle that. |
This won't be useful for core lab though. Just the notebook. |
This extension depends on it: https://github.com/jtpio/jupyterlab-system-monitor Also if it's gone it's another breaking change. |
Okay. Is there any plan to merge https://github.com/jtpio/jupyterlab-system-monitor to core lab? |
Not really, although this could be considered if more people are using it. We would first need to decide on the future of nbresuse and the scope it should cover. So that we can build and expose a stable API. |
Also what do you think about removing the Since it's a new endpoint, there could be a good opportunity to design the API with what we plan to add next in mind (for example kernel metrics). |
Merging, we can iterate in separate PRs. |
Thanks again @Gsbreddy for this! |
Sure! We can add this endpoint later with the design which has more information like per kernel memory and cpu usages. Looking forward to help on this. |
That's great, thanks @Gsbreddy! (I now have commit rights on the repo, so we can keep some momentum) |
This solves yuvipanda#36
Have to raise PR on jupyterlab statusbar-extension to change api call to /api/nbresuse/v1 once this PR is merged.
Once this is done, then we can merge yuvipanda#41 and release a new version to PyPi.
psutil
as a dependency/metrics
endpoint with mem and cpu usage