aws / aws-xray-sdk-node

The official AWS X-Ray SDK for Node.js.
Apache License 2.0
267 stars 156 forks source link

[bugfix] Incorrect data variable usage + missing data injection in AWS v3 clients #596

Closed srprash closed 1 year ago

srprash commented 1 year ago

Problem

This PR had a bug where I used the variable userData instead of additionalData and it made the code not work. Also there was a miss in adding the feature for AWS SDK v3 instrumented clients.

Description of changes

This PR fixes the bug and extends the support to AWS SDK v3

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.