Open
Description
Let's keep discussions on what to do next with nbresuse
in this meta issue.
- Restore the
/metrics
endpoint to keep backward compatibility for the0.3.x
releases: Adding support for jupyterlab statusbar-extension #36 #45 - Decide where the repo should live: keep under
yuvipanda
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 - Keep the
/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 #68 - Either in a
0.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 #68 -
Change 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 - Drop the deprecated
/metrics
endpoint: Drop the deprecated /metrics endpoint #75 - Add kernel metrics: Report kernel metrics #31
- Add more metrics (Network I/O or other metrics supported by
psutil
). - Switch to event stream? Switch to using eventstreams #7. This will change the way frontends consume the API and will be a breaking change
- Add tests: Add tests for the nbresuse endpoints #49
- Document the nbresuse API: Document the nbresuse API #48
- Document the Prometheus metrics: Document the Prometheus metrics #51
Metadata
Metadata
Assignees
Labels
No labels