jupyter / tmpnb

Creates temporary Jupyter Notebook servers using Docker containers. [DEPRECATED - See BinderHub project]
https://github.com/jupyterhub/binderhub
BSD 3-Clause "New" or "Revised" License
528 stars 123 forks source link

How to monitor number of containers used in pool? #280

Closed rwmajor2 closed 7 years ago

rwmajor2 commented 7 years ago

I am using tmpnb with a pool-size of 100 on launch. However, how can I monitor how many are actively being used by users? I am actually using this in AWS and just looking to use some AutoScaling techniques.

rwmajor2 commented 7 years ago

I have found that http://servername:8000/stats and http://servername:8000/api/stats provides this information via JSON format, and the http://servername:8000/info is a simple, real-time view of the number of containers in use.