Skip to content
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

Exclude SpawnProgressAPIHandler from latency metrics #59

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

yuvipanda
Copy link
Collaborator

It's a long running connection kept open, serving progressbar responses via
EventSource. So it can't be treated as a regular HTTP request / response.

Getting rid of this unmasks more real problems in hub response latency by removing this noise.

Ref 2i2c-org/infrastructure#2127 (comment)

It's a long running connection kept open, serving progressbar
responses via
[EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
So it can't be treated as a regular HTTP request / response.

Getting rid of this unmasks more real problems in hub response
latency by removing this noise.

Ref 2i2c-org/infrastructure#2127 (comment)
@yuvipanda
Copy link
Collaborator Author

Without this change:

image

With this change:

image

I think most of the spikes are actually server stops, but regardless, this is an improvement.

@consideRatio
Copy link
Member

Wiee nice!! So if we see this, we shouldn't assume the hub pod is overloaded. Hmm... I opened jupyterhub/jupyterhub#4353 reflecting about if we can measure the hub as overburdened in another way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants