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

AWS SDK Plugin for SQS causes error by injecting Message Attribute #1094

Closed
jmclean-cnexus opened this issue Sep 23, 2020 · 0 comments · Fixed by #1096
Closed

AWS SDK Plugin for SQS causes error by injecting Message Attribute #1094

jmclean-cnexus opened this issue Sep 23, 2020 · 0 comments · Fixed by #1096
Labels
bug Something isn't working community integrations
Milestone

Comments

@jmclean-cnexus
Copy link

Describe the bug
When using the aws-sdk plugin, specfiically for the SQS service, the dd-trace module will inject a message attribute into all of our SQS requests. The limit for MessageAttributes with the AWS SQS SendMessage API is 10.

We are receiving failures for all of our SQS SendMessage Requests because datadog intercepts and add a MessageAttribute, making our MessageAttribute count be 11 (rather than the AWS accepted 10). The lines at fault are here

Datadog should NOT be intercepting any requests, especially if it introduces an opportunity to fail such. This code should be removed from the implementation as it can be destructive.

Environment
Production

  • Operation system:
    Amazon Linux 2
  • Node version:
    8.5.0
  • Tracer version:
    0.24.1
  • Agent version:
    Latest (ie 7.x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community integrations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants