Comments (1)
Thanks @consideRatio for all these details!
I suspect that the /metrics calls come from the [nbresuse]
It does indeed come from the nbresuse
frontend:
- in the classic notebook extension: https://github.com/yuvipanda/nbresuse/blob/de920c0aec27467805e61678da2c8c61eecbbced/nbresuse/static/main.js#L36-L37
- in JupyterLab: https://github.com/jupyterlab/jupyterlab/blob/0b88d64b622fc03f4c06ce9cceaa13bc443db468/packages/statusbar/src/defaults/memoryUsage.tsx#L288-L291
/api/kernels - unknown interval
The polling logic for these endpoints is defined here:
hope it's possible to make use of a common interface to determine if the notebook-server / jupyter-server is available, and cut down on requests if it isn't.
Yes either this common interface (but it would have to be usable from multiple frontends), or use exponential backoff when making the requests.
For nbresuse
specifically there has also been the idea of switching to event streams: #19
from jupyter-resource-usage.
Related Issues (20)
- Reporting Disk Usage HOT 4
- Not working (no update of memory usage) after updating to JupyterLab 3.6.2 HOT 2
- Open file leakage HOT 2
- Integrate the components from `jupyterlab-system-monitor` HOT 1
- Implement JupyterLab dark theme HOT 3
- Drop the Classic Notebook extension
- Update the documentation in `README.md` HOT 4
- Notebook 7: kernel usage is missing HOT 6
- Add a custom configuration to show/hide some parts of sidebar HOT 3
- Memory usage did not match the actual situation. HOT 1
- Spurious `unknown message usage_request errors HOT 3
- High CPU consumption of PrometheusHandler HOT 1
- Showing message in tachometer about ipykernel's required version HOT 1
- No update of memory usage HOT 1
- Muilt language needed HOT 1
- New jupyterlab-resource-usage installation 'tachymeter' panel has zero width HOT 1
- Uncaught TypeError: Cannot read properties of null (reading 'getMetadata') HOT 2
- Memory unit and monitor on system level HOT 8
- Adding disk usage HOT 2
- Only showing memory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-resource-usage.