lumigo-io / lumigo-node

Lumigo's Node.js Distributed Tracing and Performance Agent
https://lumigo.io
Apache License 2.0
76 stars 12 forks source link

fix: pre-empt tracer or hooks initialization when tracer is switched off #433

Closed mmanciop closed 1 year ago

mmanciop commented 1 year ago

closes https://github.com/lumigo-io/lumigo-node/issues/431

codecov[bot] commented 1 year ago

Codecov Report

Merging #433 (7c047d4) into master (4e438b5) will decrease coverage by 0.23%. The diff coverage is 99.74%.

@@             Coverage Diff             @@
##            master     #433      +/-   ##
===========================================
- Coverage   100.00%   99.77%   -0.23%     
===========================================
  Files           19       39      +20     
  Lines         1165     2260    +1095     
  Branches       246      627     +381     
===========================================
+ Hits          1165     2255    +1090     
- Misses           0        4       +4     
- Partials         0        1       +1     
Impacted Files Coverage Δ
src/hooks/mongodb4x.ts 96.61% <96.61%> (ø)
src/globals.ts 99.13% <99.13%> (ø)
src/utils.ts 99.38% <99.38%> (ø)
src/events/events.ts 100.00% <100.00%> (ø)
src/events/trigger-parsers/step-function-parser.ts 100.00% <100.00%> (ø)
src/events/trigger-parsers/trigger-parser-base.ts 100.00% <100.00%> (ø)
src/extender.js 100.00% <100.00%> (ø)
src/guards/awsGuards.ts 100.00% <100.00%> (ø)
src/hooks/http.ts 100.00% <100.00%> (ø)
src/hooks/httpUtils.js 100.00% <100.00%> (ø)
... and 29 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

doriaviram commented 1 year ago

:tada: This PR is included in version 1.80.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: