I've done the necessary sidecar setup in CloudFormation for the collector and added the following to my docker file for my Java applications deployed in AWS ECS (obviously replacing myservice with relevant name):
ENV OTEL_SERVICE_NAME="MyService"
ENV OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317"
ENV OTEL_PROPAGATORS="tracecontext,baggage,xray"
CMD java -XX:+UseContainerSupport -XX:MaxRAMPercentage=80.0 -javaagent:aws-opentelemetry-agent.jar -jar myservice-1.0.jar
Traces for calls to synchronous endpoints work fantastically but traces do not seem to be propagated across SQS calls.
Any ideas?