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

Deletion Message for SQS Emitted as a Seperate Trace #12941

Open
harrryr opened this issue Dec 20, 2024 · 1 comment
Open

Deletion Message for SQS Emitted as a Seperate Trace #12941

harrryr opened this issue Dec 20, 2024 · 1 comment
Labels
bug Something isn't working needs author feedback Waiting for additional feedback from the author needs repro needs triage New issue that requires triage

Comments

@harrryr
Copy link

harrryr commented Dec 20, 2024

Describe the bug

We have a Spring Boot microservice that uses AWS Java SDK 3.0.5 to trigger a message pull from SQS, process the message, then do an external API call. Based on the response of the external API call, the following action is taken:

  • Successful - the Spring Cloud library handles the deletion of the message
  • Unsuccessful - message is left in the queue (not deleted) and after 3 unsuccessful processing attempts, the message is routed by SQS to a DLQ

We expect one trace to be generated containing all actions taken, but instead we get 2 separate traces.
We believe that this is an issue related to instrumentation with Spring-Cloud-AWS lib.

Steps to reproduce

Pending, will update link if available

Expected behavior

We expect one trace to be generated with the following three actions:

  1. Pull from SQS
  2. Call External API
  3. Delete message from SQS

Actual behavior

We received two separate traces:
Trace 1: Contains pulling from SQS and calling external API
Trace 2: Contains the delete message

Javaagent or library instrumentation version

v2.10.0

Environment

JDK:
OS:

Additional context

No response

@harrryr harrryr added bug Something isn't working needs triage New issue that requires triage labels Dec 20, 2024
@laurit
Copy link
Contributor

laurit commented Dec 21, 2024

Please provide a minimal sample app that reproduce the issue.

@laurit laurit added needs author feedback Waiting for additional feedback from the author needs repro labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs author feedback Waiting for additional feedback from the author needs repro needs triage New issue that requires triage
Projects
None yet
Development

No branches or pull requests

2 participants