-
Notifications
You must be signed in to change notification settings - Fork 825
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
feat: use context-based tracing #816
feat: use context-based tracing #816
Conversation
83e99b4
to
acdae62
Compare
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.
lgtm, looking forward to discuss about the simplification of the initialisation of the global APIs
packages/opentelemetry-plugin-http/test/functionals/utils.test.ts
Outdated
Show resolved
Hide resolved
@vmarchaud me too. it is becoming quite cumbersome and I would like to have something simpler before we launch beta. I was thinking we would have some function on the tracer provider that would initialize sane defaults (e.g. |
Codecov Report
@@ Coverage Diff @@
## master #816 +/- ##
=========================================
+ Coverage 94.05% 94.4% +0.34%
=========================================
Files 245 245
Lines 10567 10787 +220
Branches 1029 1024 -5
=========================================
+ Hits 9939 10183 +244
+ Misses 628 604 -24
|
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #816 +/- ##
=========================================
+ Coverage 94.05% 94.4% +0.34%
=========================================
Files 245 245
Lines 10567 10787 +220
Branches 1029 1024 -5
=========================================
+ Hits 9939 10183 +244
+ Misses 628 604 -24
|
Codecov Report
@@ Coverage Diff @@
## master #816 +/- ##
==========================================
+ Coverage 92.69% 94.32% +1.62%
==========================================
Files 241 248 +7
Lines 10779 10667 -112
Branches 1048 1031 -17
==========================================
+ Hits 9992 10062 +70
+ Misses 787 605 -182
|
@open-telemetry/javascript-approvers i'd like to get some more eyeballs on this if possible. It's a big change and there will be a lot of follow up work to be done before beta so I don't want it to sit for too long. |
@mayurkale22 I believe I've addressed all your concerns now |
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.
lgtm
I think this is good to merge. |
* feat: use context-based tracing * chore: use withSpan where possible * chore: propagate context in tests * chore: allow spanoptions to override parent from context
Which problem is this PR solving?
Short description of the changes