DataDog / datadog-lambda-js

The Datadog AWS Lambda Library for Node
Apache License 2.0
113 stars 35 forks source link

Aj/cold start tracing #336

Closed astuyve closed 1 year ago

astuyve commented 1 year ago

What does this PR do?

Motivation

Testing Guidelines

Additional Notes

Types of Changes

Check all that apply

codecov-commenter commented 1 year ago

Codecov Report

Merging #336 (9741d2c) into main (e247c98) will increase coverage by 1.58%. The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main     #336      +/-   ##
==========================================
+ Coverage   79.02%   80.60%   +1.58%     
==========================================
  Files          36       38       +2     
  Lines        1807     1903      +96     
  Branches      418      439      +21     
==========================================
+ Hits         1428     1534     +106     
+ Misses        326      313      -13     
- Partials       53       56       +3     
Impacted Files Coverage Δ
src/runtime/user-function.ts 7.69% <ø> (+7.69%) :arrow_up:
src/trace/listener.ts 64.16% <27.27%> (-4.02%) :arrow_down:
src/trace/cold-start-tracer.ts 88.09% <88.09%> (ø)
src/runtime/require-tracer.ts 96.96% <96.96%> (ø)
src/index.ts 87.59% <100.00%> (+1.04%) :arrow_up:
src/runtime/index.ts 100.00% <100.00%> (+100.00%) :arrow_up:
src/runtime/errors.ts 36.58% <0.00%> (+36.58%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more