Skip to content

Conversation

@danielmitterdorfer
Copy link
Member

With this commit we implement chunking for the get stacktraces API in the profiling plugin as typical response sizes are dozens of MB large.

With this commit we implement chunking for the get stacktraces API in the profiling plugin as typical response sizes are dozens of MB large.
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/profiling (Team:Universal Profiling)

@elasticsearchmachine
Copy link
Collaborator

Hi @danielmitterdorfer, I've created a changelog YAML for you.

@danielmitterdorfer
Copy link
Member Author

@original-brownbear I've assigned you as a reviewer as you've implemented the underlying infrastructure and I'd appreciate if you could take a look. One remark about the test case: I did not inherit from AbstractChunkedSerializingTestCase because it would require to implement XContent parsing just for tests and our original base class was AbstractWireSerializingTestCase which is sufficient for our use case.

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me; I left one question.

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if you're ok with what David points out :)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM2

@danielmitterdorfer danielmitterdorfer merged commit 905b8fe into elastic:main May 25, 2023
@danielmitterdorfer danielmitterdorfer deleted the profiling-chunked-response branch May 25, 2023 08:28
@danielmitterdorfer
Copy link
Member Author

Thanks both for the quick review!

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

Labels

>enhancement :UniversalProfiling/Application Elastic Universal Profiling REST APIs and infrastructure v8.9.0

4 participants