-
Notifications
You must be signed in to change notification settings - Fork 29
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
Program with profiler enabled may not exit for up to a hour unless CTRL-C'ed #28
Comments
Copied from aalexand's comment on PR #16: There was a question on how CreateProfile call (which is hanging) can be cancelled, as I think unless it is cancelled the Node.js program being profiled won't exit? Looking at the code of google-cloud-node/common, some thoughts:
So, I would naively expect that supporting cancellation of CreateProfile call is as easy as:
|
Hey folks, long time no see 👋 I'm now on the other side of the screen and my new company is trying to use Cloud Profiler to better understand our memory consumption. Unfortunately now we have a P99 HTTP-client latency of 1H in all our tracing, which throws off our app monitoring. Which makes this a pretty serious show-stopper. Is it possible to address at all? It's a shame it's been open for 4+ years at P2 :( |
/CC @JustinBeckwith - hey Justin, sorry to bother you but is it possible to prioritise? |
Alright, another try. @fhinkel ? |
Heh, hey @Temikus :) This repository is entirely owned by @nolanmar511 and the profiler team. Will ping internally. |
Legend! Thanks ❤️ |
Sorry folks, but we’ll be switching away from GCP profiler due to our metrics being skewed by this bug and Datadog offering a much better profiler experience. You can deprioritise this back if you prefer. |
Coming here to echo what @Temikus has said. Kind of unacceptable this hasn't been solved yet because it messes with all p99 data. CC @nolanmar511 |
The request in createProfile() can hang for up to an hour. So, when a user's code finishes running, it could be up to an hour before profiler exits (and node.js can stop running).
The text was updated successfully, but these errors were encountered: