-
Notifications
You must be signed in to change notification settings - Fork 108
feat (add profile method for go agent) #112
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
Conversation
mrproliu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format your code.
profile/Profile.proto
Outdated
| // check last part true or false | ||
| bool isLast = 4; | ||
| // Span IDs with duration greater than minDuration,only in the last chunk | ||
| repeated int32 spanIds=5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When do you need to use this field? Could you more explain?
profile/Profile.proto
Outdated
| // Span IDs with duration greater than minDuration,only in the last chunk | ||
| repeated int32 spanIds=5; | ||
| // use to reassemble fragments | ||
| int32 chunkId = 6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this field work for? You may send the profiling data without frequency, and sort by this field?
profile/Profile.proto
Outdated
| } | ||
|
|
||
| // collect bytes profile data from go agent | ||
| rpc goProfileReport(stream GoProfileData)returns(Commands){} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also format this line.
No description provided.