-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
track last activity of kernels #1241
Comments
I think that's a good idea. Should the value in the model be a last_activity timestamp or an idle time? Thinking about the smarter version with busy/idle checking: if it's currently busy, idle time is zero, whereas calculating a 'now' timestamp is a bit more work and less immediately clear for someone inspecting the protocol. |
Could this be used for educators looking at things like "Time on Task"? What could be useful from logs would be information like:
|
It think it is a good idea to have something like this. Not sure it is On Tue, Mar 22, 2016 at 8:22 AM, Doug Blank [email protected]
Brian E. Granger |
@dsblank this wouldn't be useful for something like that, because it has no awareness of the document. That would probably be better written as a javascript extension. |
Forgot to close this in #1827 |
It's proven useful in JupyterHub to track last activity on each notebook server and expose that on the API, so that external services can perform operations such as culling idle servers, etc. We could track similar information on a per-kernel basis in the single-user notebook.
Rough draft in my head:
The text was updated successfully, but these errors were encountered: