-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ref to "launch" events? #452
Comments
Nope, because you'll end up blowing through our resources pretty quickly. Each combination of metric keys will create a new metric, and if you add ref that's pretty much infinite numberof metrics. So we can't do that without slowing prometheus to a crawl. https://prometheus.io/docs/practices/naming/ has more info. |
Specifically, from https://prometheus.io/docs/practices/naming/#labels:
|
jupyterhub/mybinder.org-deploy#97 or similar is the work needed for us to actually be able to gather this data. |
ah ok :-( I'm gonna remove all of that part of #453 then |
I was looking through the prometheus launch events, and wonder if it'd be relatively easy to add the label pod to each one:
e.g., couldn't we add something like
ref=self.key
(after addingkey
toself
) here:binderhub/binderhub/builder.py
Line 388 in 9d91e12
(here's
key
:binderhub/binderhub/builder.py
Line 168 in 9d91e12
that way we could see if there are particular repos that are causing super long build times, and we could also quantify the number of launches for each repo...
The text was updated successfully, but these errors were encountered: