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

cmd/trace: support splitting in goroutine view #51349

Open
prattmic opened this issue Feb 24, 2022 · 0 comments
Open

cmd/trace: support splitting in goroutine view #51349

prattmic opened this issue Feb 24, 2022 · 0 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@prattmic
Copy link
Member

For the main trace view, we support splitting the trace into smaller time chunks. e.g., /trace?start=966781&end=1937169. This is used to split the trace into small chunks that will (hopefully) prevent the viewer from choking on too much data.

View trace (0s-325.884822ms)
View trace (325.884822ms-686.872205ms)
View trace (686.866981ms-1.054600408s)
View trace (1.054600408s-1.386457684s)
View trace (1.386457684s-1.730625581s)
...

The goroutines view (/trace?goid=1) does not provide links to a split view. In theory, this can be done manually by adding start and end parameters to the URL. In my experience, this works fine if start=0 (it will provide a trace truncated at the end time). However, any start time other than 0 results in an empty trace.

cc @mknyszek

@prattmic prattmic added this to the Backlog milestone Feb 24, 2022
@seankhliao seankhliao added FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Feb 25, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Development

No branches or pull requests

3 participants