-
Notifications
You must be signed in to change notification settings - Fork 821
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: add isEnabled to InstrumentationBase #2135
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2135 +/- ##
==========================================
- Coverage 92.78% 92.77% -0.02%
==========================================
Files 140 140
Lines 4979 4981 +2
Branches 1028 1028
==========================================
+ Hits 4620 4621 +1
- Misses 359 360 +1
|
Hmm, don't think I can retrigger CI without any pushes. GH actions failed due to an internal error |
packages/opentelemetry-instrumentation/src/platform/node/instrumentation.ts
Outdated
Show resolved
Hide resolved
@obecny @vmarchaud need 1 more maintainer review. Would like to have this in for 0.19 release |
Which problem is this PR solving?
#2131
Short description of the changes
Instrumentations need access to the enabled flag, this is to avoid defining it multiple times.