jupyter_server icon indicating copy to clipboard operation
jupyter_server copied to clipboard

Support Serving Metrics On an Alternate Port

Open dpeckett opened this issue 1 year ago • 1 comments

Problem

Currently the main method prometheus metrics are exposed for scraping is that they are served unauthenticated on the main port https://github.com/jupyter-server/jupyter_server/pull/344

If the notebook is exposed to the internet this obviously leaks a lot of information.

Proposed Solution

Jupyter server should support serving metrics unauthenticated on an alternate port eg. 9090. This pattern is used in most web services that export prometheus metrics.

dpeckett avatar Aug 20 '23 22:08 dpeckett