-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Describe the bug
I have service which is publishing sqs message to the queue and also is reading the message from this queue.
It's using javaagent and have opentelemetry-aws-sdk-2.2-autoconfigure dependency.
Parameters described here https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/aws-sdk/README.md are enabled as well.
I see that trace id is not propagated and there is no trace and span id at all after message consuming.
Steps to reproduce
Spring service publishes simple sqs message to the queue using spring-cloud-aws-sqs SqsTemplate. Consume the message using @SqsListener from spring-cloud-aws-sqs. Check the trace id before and after sending.
Expected behavior
Trace id and span id should be propagated and shouldn't be lost.
Actual behavior
Trace id and span id are lost after sending sqs message.
Javaagent or library instrumentation version
2.5.0
Environment
JDK: Temurin 17.0.7
OS: Alpine Linux
Spring: 6.1.10
opentelemetry-aws-sdk-2.2-autoconfigure: 2.7.0-alpha
spring-cloud-aws-sqs: 3.1.1
Additional context
No response