Open amol-kashetwar-cko opened 3 hours ago
Tagging component owner(s).
@srprash @ppittle @muhammad-othman @rypdal @Oberon00
Hi @amol-kashetwar-cko, I believe this bug is similar to https://github.com/open-telemetry/opentelemetry-dotnet-contrib/issues/2108, which was fixed in https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2137 but is still pending release.
Component
OpenTelemetry.Instrumentation.AWS
Package Version
Runtime Version
net8.0
Description
When SQS messages have attribute(s), Amazon.SQS.AmazonSQSException: Attribute MD5 hash mismatch thrown on latest version.
Steps to Reproduce
Sample test on Lambda
`using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Amazon.Lambda.Core; using OpenTelemetry; using OpenTelemetry.Instrumentation.AWSLambda; using OpenTelemetry.Trace; using Amazon.SQS; using Amazon.SQS.Model;
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]
namespace LambdaTest { public class LambdaHandlerSQS { private IAmazonSQS _sqsClient; private readonly Tracer _tracer;
}`
Expected Result
Messages should get sent to queue without exception
Actual Result
Amazon.SQS.AmazonSQSException: Attribute MD5 hash mismatch thrown
Additional Context
No response