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

Continue Refactoring TracerProvider. #1035

Merged
merged 5 commits into from Aug 10, 2020
Merged

Continue Refactoring TracerProvider. #1035

merged 5 commits into from Aug 10, 2020

Conversation

cijothomas
Copy link
Member

Built on top of #1032

Changes

Make "builder" just builder.. Keeps accumulating things to be later used for building the Tracer.
Every other logic is moved to TracerProviderSdk ctor.

Please provide a brief description of the changes here. Update the
CHANGELOG.md for non-trivial changes.

For significant contributions please make sure you have completed the following items:

  • Design discussion issue #
  • Changes in public API reviewed

@cijothomas cijothomas requested a review from a team as a code owner August 10, 2020 18:52
@cijothomas cijothomas mentioned this pull request Aug 10, 2020
2 tasks
@codecov
Copy link

codecov bot commented Aug 10, 2020

Codecov Report

Merging #1035 into master will increase coverage by 0.20%.
The diff coverage is 89.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1035      +/-   ##
==========================================
+ Coverage   76.97%   77.17%   +0.20%     
==========================================
  Files         221      221              
  Lines        6166     6164       -2     
==========================================
+ Hits         4746     4757      +11     
+ Misses       1420     1407      -13     
Impacted Files Coverage Δ
src/OpenTelemetry/Trace/TracerProviderBuilder.cs 79.48% <68.42%> (-13.56%) ⬇️
src/OpenTelemetry/Trace/TracerProviderSdk.cs 94.31% <94.31%> (-5.69%) ⬇️
src/OpenTelemetry/Metrics/CounterMetricSdkBase.cs 96.66% <0.00%> (+13.33%) ⬆️
...rc/OpenTelemetry/Trace/TracerProviderExtensions.cs 73.68% <0.00%> (+73.68%) ⬆️

@reyang
Copy link
Member

reyang commented Aug 10, 2020

@reyang reyang closed this Aug 10, 2020
@reyang reyang reopened this Aug 10, 2020
@cijothomas cijothomas merged commit 8af9b32 into open-telemetry:master Aug 10, 2020
This was referenced Aug 11, 2020
cijothomas added a commit that referenced this pull request Aug 11, 2020
* Removing Todos

renaming parameter

adding tests

updating spanbuilderShim

updating to internal

renaming to spanAttributes

solving build issue

adding spec reference

Continue Refactoring TracerProvider. (#1035)

* optimize the flow

* fix instrumenataion

* move mroe things to provider ctor

* move logic arounds

Co-authored-by: Reiley Yang <reyang@microsoft.com>

changing to class and following spec to replace value

replacing from default to null

updating package

adding xunit.runner

renaming method

* removing duplicated files

* adding some tests and updating to default constructor

* removing to be compliant to spec

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants