Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

chore: reuse NoopTracer in ProxyTracer #103

Merged
merged 1 commit into from Jul 24, 2021
Merged

chore: reuse NoopTracer in ProxyTracer #103

merged 1 commit into from Jul 24, 2021

Conversation

Flarna
Copy link
Member

@Flarna Flarna commented Jul 12, 2021

Create a single NoopTracer and reuse it in ProxyTracer to avoid creation of a new NoopTracer on every startSpan() call in case no SDK is present.

Create a single NoopTracer and reuse it in ProxyTracer to avoid creation of a
new NoopTracer on every startSpan() call in case no SDK is present.
@codecov
Copy link

codecov bot commented Jul 12, 2021

Codecov Report

Merging #103 (9694ce0) into main (14655bc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #103   +/-   ##
=======================================
  Coverage   94.89%   94.90%           
=======================================
  Files          42       42           
  Lines         568      569    +1     
  Branches       89       89           
=======================================
+ Hits          539      540    +1     
  Misses         29       29           
Impacted Files Coverage Δ
src/trace/ProxyTracer.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14655bc...9694ce0. Read the comment docs.

@Flarna
Copy link
Member Author

Flarna commented Jul 19, 2021

ping @dyladan @obecny

Copy link
Member

@obecny obecny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vmarchaud vmarchaud merged commit 1fa6248 into open-telemetry:main Jul 24, 2021
@Flarna Flarna deleted the reuse-noop-tracer branch July 24, 2021 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants