-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[profiling] Take care of @UpdateForV9 #123977
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
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
| private final int size; | ||
| private final double samplingRate; | ||
| private final long selfCPU; | ||
| @UpdateForV9(owner = UpdateForV9.Owner.PROFILING) // remove this field - it is unused in Kibana |
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.
totalCPU is still used in Kibana, removed annotation
| @UpdateForV9(owner = UpdateForV9.Owner.PROFILING) // remove this field - it is unused in Kibana | ||
| private final long totalCPU; | ||
| @UpdateForV9(owner = UpdateForV9.Owner.PROFILING) // remove this field - it is unused in Kibana | ||
| private final long totalSamples; |
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.
`totalSamples is still used in Kibana, removed annotation.
| private final String name; | ||
| private Long count; | ||
| @UpdateForV9(owner = UpdateForV9.Owner.PROFILING) // remove legacy XContent rendering | ||
| @UpdateForV10(owner = UpdateForV10.Owner.PROFILING) // remove legacy XContent rendering |
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.
Unclear why XContent is legacy. The API isn't deprecated. The profiling team hasn't any further knowledge.
| @Nullable | ||
| private final Map<String, TraceEvent> stackTraceEvents; | ||
| @UpdateForV9(owner = UpdateForV9.Owner.PROFILING) // remove this field - it is unused in Kibana | ||
| private final int totalFrames; |
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.
Do we still need to keep this around?
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.
Yes. Sorry, I put the comment at the wrong place:
totalFrames is still used in internally to calculate sizes for map allocations. Removed sending the value as total_frames to Kibana, where it isn't used any more.`
* [profiling] Take care of @UpdateForV9 * Fix GetStackTracesResponseTests
* [profiling] Take care of @UpdateForV9 * Fix GetStackTracesResponseTests
* [profiling] Take care of @UpdateForV9 * Fix GetStackTracesResponseTests
@UpdateForV9annotation where it was wrongly set@UpdateForV9to@UpdateForV10where required (added explanations)