Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a /metrics endpoint for Prometheus Metrics #3490
Prometheus provides a standard
The JupyterHub and BinderHub projects already expose Prometheus
This commit does the following:
/cc @rgbkrk @ivanov who had conversations about exposing 'resource use metrics' as part of the kernel (IIRC). This PR is orthogonal to that, since it only deals with operational and performance metrics, rather than things like 'here is what is happening to your spark cluster!'
Yep, /metrics is the standard endpoint. I eventually want to have an option to make /metrics unauthenticated too (as an explicit opt in). Since /api/ is all JSON, I feel ok keeping /metrics out of it. We could also expose a JSON endpoint under /api/ later if people wish.…
On Mon, Apr 2, 2018 at 12:22 PM, Kyle Kelley ***@***.***> wrote: Is it standard practice to put it at /metrics instead of some /api endpoint? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#3490 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAB23jTaLFZPkmPW5oaVT-0A8DkZlzRzks5tknp9gaJpZM4TD5iZ> .
-- Yuvi Panda T http://yuvi.in/blog