amazon-sagemaker-codeserver
amazon-sagemaker-codeserver copied to clipboard
👋🏾 Is it possible to find active notebooks and terminals on code-server?
trafficstars
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.
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