elastic / apm-agent-dotnet

https://www.elastic.co/guide/en/apm/agent/dotnet/current/index.html
Apache License 2.0
585 stars 208 forks source link

Add IntakeResponse deserialization for detailed error logging #2460

Closed Mpdreamz closed 1 month ago

Mpdreamz commented 1 month ago

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.