Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃憢馃従 Is it possible to find active notebooks and terminals on code-server? #31

Open
vas610 opened this issue Aug 24, 2023 · 1 comment

Comments

@vas610
Copy link

vas610 commented Aug 24, 2023

Is there any API that can be used to find notebooks and terminals that are active on the code-server? In that way, it can be used when setting up a lifecycle config for SageMaker Notebook to auto stop when there is not activity.

@giuseppeporcelli
Copy link
Contributor

Hi @vas610, you can try using the healthz endpoint and the heartbeat logic that code-server provides. I suggest reading:
https://coder.com/docs/code-server/latest/FAQ#what-is-the-healthz-endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants