Skip to content

Conversation

@rockdaboot
Copy link
Contributor

  • removed @UpdateForV9 annotation where it was wrongly set
  • changed @UpdateForV9 to @UpdateForV10 where required (added explanations)

@rockdaboot rockdaboot added >non-issue :UniversalProfiling/Application Elastic Universal Profiling REST APIs and infrastructure v9.0.0 v9.0.1 v9.1.0 labels Mar 4, 2025
@rockdaboot rockdaboot self-assigned this Mar 4, 2025
@rockdaboot rockdaboot requested a review from christos68k March 4, 2025 09:26
@elasticsearchmachine elasticsearchmachine added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Mar 4, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@elasticsearchmachine elasticsearchmachine added the external-contributor Pull request authored by a developer outside the Elasticsearch team label Mar 4, 2025
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
Copy link
Contributor Author

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;
Copy link
Contributor Author

@rockdaboot rockdaboot Mar 4, 2025

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
Copy link
Contributor Author

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.

@arpadkiraly arpadkiraly added the auto-backport Automatically create backport pull requests when merged label Mar 4, 2025
@Nullable
private final Map<String, TraceEvent> stackTraceEvents;
@UpdateForV9(owner = UpdateForV9.Owner.PROFILING) // remove this field - it is unused in Kibana
private final int totalFrames;
Copy link
Member

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?

Copy link
Contributor Author

@rockdaboot rockdaboot Mar 5, 2025

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.`

@rockdaboot rockdaboot merged commit 792ab39 into elastic:main Mar 5, 2025
17 checks passed
rockdaboot added a commit to rockdaboot/elasticsearch that referenced this pull request Mar 5, 2025
* [profiling] Take care of @UpdateForV9

* Fix GetStackTracesResponseTests
rockdaboot added a commit to rockdaboot/elasticsearch that referenced this pull request Mar 5, 2025
* [profiling] Take care of @UpdateForV9

* Fix GetStackTracesResponseTests
rockdaboot added a commit that referenced this pull request Mar 5, 2025
* [profiling] Take care of @UpdateForV9

* Fix GetStackTracesResponseTests
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Mar 11, 2025
* [profiling] Take care of @UpdateForV9

* Fix GetStackTracesResponseTests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged external-contributor Pull request authored by a developer outside the Elasticsearch team >non-issue Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team :UniversalProfiling/Application Elastic Universal Profiling REST APIs and infrastructure v9.0.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants