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

fix aws-sdk complete event running in wrong async context #2099

Merged
merged 2 commits into from
Jun 2, 2022

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Jun 2, 2022

What does this PR do?

Fix aws-sdk complete event running in wrong async context.

Motivation

Running the event in the wrong context means that sometimes it receives the HTTP span and never finishes the AWS span, thus never finishing the trace.

@rochdev rochdev added bug Something isn't working integrations semver-patch labels Jun 2, 2022
@rochdev rochdev requested a review from a team as a code owner June 2, 2022 01:33
@codecov
Copy link

codecov bot commented Jun 2, 2022

Codecov Report

Merging #2099 (30d8c49) into master (b5fdf71) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2099   +/-   ##
=======================================
  Coverage   92.79%   92.79%           
=======================================
  Files         206      206           
  Lines        8303     8304    +1     
=======================================
+ Hits         7705     7706    +1     
  Misses        598      598           
Impacted Files Coverage Δ
packages/datadog-instrumentations/src/aws-sdk.js 91.66% <100.00%> (+0.17%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@rochdev rochdev changed the title Fix aws complete event scope fix aws-sdk complete event running in wrong async context Jun 2, 2022
@rochdev rochdev merged commit 502fc33 into master Jun 2, 2022
@rochdev rochdev deleted the fix-aws-complete-event-scope branch June 2, 2022 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integrations semver-patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants