Skip to content
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

Add context API #792

Merged
merged 7 commits into from Feb 20, 2020
Merged

Conversation

dyladan
Copy link
Member

@dyladan dyladan commented Feb 19, 2020

Required for beta

Fixes #741

@codecov-io
Copy link

codecov-io commented Feb 19, 2020

Codecov Report

Merging #792 into master will increase coverage by 1.94%.
The diff coverage is 47.05%.

@@            Coverage Diff            @@
##           master    #792      +/-   ##
=========================================
+ Coverage   92.56%   94.5%   +1.94%     
=========================================
  Files         237     211      -26     
  Lines       10435    9081    -1354     
  Branches     1013     856     -157     
=========================================
- Hits         9659    8582    -1077     
+ Misses        776     499     -277
Impacted Files Coverage Δ
packages/opentelemetry-api/src/api/context.ts 47.05% <47.05%> (ø)
...ackages/opentelemetry-core/test/utils/wrap.test.ts 80.64% <0%> (ø) ⬆️
...emetry-exporter-stackdriver-trace/src/transform.ts 100% <0%> (ø) ⬆️
packages/opentelemetry-plugin-mysql/src/enums.ts 100% <0%> (ø) ⬆️
.../opentelemetry-plugin-dns/test/utils/assertSpan.ts 100% <0%> (ø) ⬆️
...in-postgres/opentelemetry-plugin-pg/src/version.ts 100% <0%> (ø) ⬆️
packages/opentelemetry-plugin-redis/src/enums.ts 100% <0%> (ø) ⬆️
...ages/opentelemetry-plugin-http/test/utils/utils.ts 33.33% <0%> (-26.67%) ⬇️
...postgres/opentelemetry-plugin-pg-pool/src/enums.ts 100% <0%> (ø) ⬆️
...-exporter-stackdriver-trace/test/transform.test.ts 100% <0%> (ø) ⬆️
... and 157 more

@dyladan dyladan mentioned this pull request Feb 19, 2020
Copy link
Member

@mayurkale22 mayurkale22 left a comment

Choose a reason for hiding this comment

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

lgtm

@dyladan dyladan mentioned this pull request Feb 19, 2020
46 tasks
@dyladan dyladan added API enhancement New feature or request labels Feb 19, 2020
@dyladan dyladan changed the title chore: add context API Add context API Feb 20, 2020
@dyladan dyladan self-assigned this Feb 20, 2020
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 - one comment

packages/opentelemetry-api/src/api/context.ts Show resolved Hide resolved
@dyladan dyladan merged commit 5fc9576 into open-telemetry:master Feb 20, 2020
@dyladan dyladan deleted the context-api branch February 20, 2020 20:20
dyladan added a commit to dyladan/opentelemetry-js that referenced this pull request Sep 9, 2022
* chore: add context API
pichlermarc pushed a commit to dynatrace-oss-contrib/opentelemetry-js that referenced this pull request Dec 15, 2023
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate layer for context propagation
6 participants