Open MaicoTimmerman opened 3 months ago
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Read the docs build failed due to timeouts:
RuntimeError: Download error (28) Timeout was reached [https://conda.anaconda.org/free/noarch/repodata.json]
Operation too slow. Less than 30 bytes/sec transferred the last 60 seconds
This MR is taking on #731.
The
jupyter_server
already ships with aPrometheusMetricsHandler
, however, that handler inherits fromJupyterHandler
, which requires authentication. The enterprise gateway project doesn't integrate with that method of authentication, therefore I added separate handler to serve the metrics.I've included 3 metrics in the initial implementation:
In terms of configuration, I've included the
EG_METRICS_PREFIX
environment variable for now, similar to how other configurations for the process proxies are set.Sample responses from the /metrics endpoint