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

make extended tracer easier to use #6943

Merged
merged 5 commits into from
Jan 14, 2025

Conversation

zeitlinger
Copy link
Member

No description provided.

@zeitlinger zeitlinger requested a review from a team as a code owner December 11, 2024 17:35
@zeitlinger zeitlinger self-assigned this Dec 11, 2024
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.94%. Comparing base (d56bdf5) to head (036fe9f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6943      +/-   ##
============================================
- Coverage     89.95%   89.94%   -0.01%     
- Complexity     6635     6636       +1     
============================================
  Files           745      745              
  Lines         20010    20010              
  Branches       1962     1962              
============================================
- Hits          17999    17998       -1     
  Misses         1415     1415              
- Partials        596      597       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zeitlinger
Copy link
Member Author

@jack-berg please check

@trask
Copy link
Member

trask commented Dec 12, 2024

up to @jack-berg, but I'd suggest landing #6944 first without adding any new complications

@jkwatson
Copy link
Contributor

What do you think about adding a sample of usage in ExtendedTraceApiUsageTest ?

@zeitlinger
Copy link
Member Author

What do you think about adding a sample of usage in ExtendedTraceApiUsageTest ?

good idea - done

@@ -53,6 +53,10 @@ static SdkTracer create(
: new SdkTracer(sharedState, instrumentationScopeInfo, tracerConfig);
}

/**
* Note that {@link ExtendedSdkTracer#spanBuilder(String)} calls this and depends on it returning
* {@link ExtendedSdkTracer} in all cases when the incubator is present.
Copy link
Member

Choose a reason for hiding this comment

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

Merged main, and added some additional tests to confirm this.

@jack-berg jack-berg merged commit 4b3cedd into open-telemetry:main Jan 14, 2025
25 checks passed
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.

4 participants