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

Add IntakeResponse deserialization for detailed error logging #2460

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Oct 7, 2024

Introduced the IntakeResponse class to better handle and log errors from APM server responses. Updated PayloadSenderV2 to use this class for extracting error messages and logging them in a more informative way. Added a deserialization method in PayloadItemSerializer for converting response streams.

Introduced the `IntakeResponse` class to better handle and log errors from APM server responses. Updated `PayloadSenderV2` to use this class for extracting error messages and logging them in a more informative way. Added a deserialization method in `PayloadItemSerializer` for converting response streams.
stevejgordon
stevejgordon previously approved these changes Oct 8, 2024
Copy link
Contributor

@stevejgordon stevejgordon left a comment

Choose a reason for hiding this comment

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

Some tests to update but the changes LGTM

Copy link
Contributor

@stevejgordon stevejgordon left a comment

Choose a reason for hiding this comment

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

LGTM

@Mpdreamz Mpdreamz merged commit 655fea0 into main Oct 10, 2024
14 of 16 checks passed
@Mpdreamz Mpdreamz deleted the fix/max-content-error branch October 10, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] The APM agent endlessly sends “event exceeded the allowed size” error to the APM Server
2 participants