-
Notifications
You must be signed in to change notification settings - Fork 552
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(instrumentation/aws-lambda): Ensure callback is only called once #1384
fix(instrumentation/aws-lambda): Ensure callback is only called once #1384
Conversation
…regardless how many providers are flushed Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1384 +/- ##
==========================================
- Coverage 96.10% 95.87% -0.23%
==========================================
Files 14 16 +2
Lines 898 1116 +218
Branches 192 233 +41
==========================================
+ Hits 863 1070 +207
- Misses 35 46 +11
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for following up on it - I should've caught that when reviewing the previous PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Minor clarification nit
plugins/node/opentelemetry-instrumentation-aws-lambda/src/instrumentation.ts
Outdated
Show resolved
Hide resolved
…rumentation.ts Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
…regardless how many providers are flushed
Signed-off-by: Anthony J Mirabella a9@aneurysm9.com
Which problem is this PR solving?
Defect identified in #1370 (review).
Short description of the changes
Combine all provider flush invocations to a single
Promise.all()
that can be resolved once.