-
Notifications
You must be signed in to change notification settings - Fork 419
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
Go Execution Traces: Collection Frequency #2099
Comments
I enabled this feature (which is awesome) and with the default of 15m it "seemed" like it did not work. It is possible that I was not patient enough. I ended up setting it to 1 minute. While I was troubleshooting a slow network issue in real time I still had to want longer then I would like to see the data load. Anyway, all that to say in a troubleshoot setting 15m seems way to long. What is the cost of setting this to a lower value? |
Hi @pmaseberg, thanks for your feedback! I have a few questions:
To answer your question, here's the overhead we expect from a single execution trace collection:
So, setting the period to a smaller value will result in more traces, and more of all the above overhead. The CPU and latency impact should be reduced significantly with Go 1.21, which will be released soon, but you'll still see the pause and the bandwidth usage increase. The bandwidth in particular is something to look out for depending on what you normally pay for data transfer. |
Thanks for the info! I just saw yesterday about Go 1.21. We are going to wait for that before trying to enable in prod just to be safe will have to decide on the Period then. |
This issue is used to gather feedback on the data collection frequency of the new execution tracer (aka code hotspots timeline) feature of the profiler during the beta.
The default collection frequency is
15min
. If you'd like to collect this data more frequently, please upvote this issue and comment with more details on your use case.During the beta you can change this frequency as shown below:
The text was updated successfully, but these errors were encountered: