You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the /metrics endpoint for the 0.3.x releases to not break backward compatibility with the lab status bar and other extensions that rely on nbresuse.
Either in a 0.3.x release or in 0.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
Let's keep discussions on what to do next with
nbresusein this meta issue./metricsendpoint to keep backward compatibility for the0.3.xreleases: Adding support for jupyterlab statusbar-extension #36 #45yuvipandaor more to another GitHub organization (or move to Jupyter Server)? Seeking new maintainers #24 -> moved to https://github.com/jupyter-server/jupyter-resource-usage/metricsendpoint for the0.3.xreleases to not break backward compatibility with the lab status bar and other extensions that rely on nbresuse.DropDeprecate the/metricsendpoint in0.4.xso it doesn't shadow the Prometheus endpoint anymore: Soft-deprecate /metrics endpoint #680.3.xrelease or in0.4.x: add a new/api/metrics/v1endpoint to retrieve the metrics as JSON (just like the current/metricsendpoint). 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/metricsendpoint: Drop the deprecated /metrics endpoint #75psutil).