Add alternative instrumentation abstraction#822
Merged
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #822 +/- ##
============================================
+ Coverage 81.52% 81.75% +0.22%
- Complexity 1925 1947 +22
============================================
Files 239 243 +4
Lines 5008 5069 +61
============================================
+ Hits 4083 4144 +61
Misses 925 925
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Nevay
commented
Sep 18, 2022
Nevay
left a comment
Contributor
Author
There was a problem hiding this comment.
If we merge this: SpanProcessors and MetricReaders should run exports with the Context they were created in.
| use OpenTelemetry\Context\ScopeInterface; | ||
| use Psr\Log\LoggerInterface; | ||
|
|
||
| final class InstrumentationConfigurator |
Contributor
Author
There was a problem hiding this comment.
Should this implement ImplicitContextKeyedInterface?
Nevay
marked this pull request as ready for review
September 18, 2022 12:06
Contributor
|
@Nevay happy for this to be merged? |
brettmc
approved these changes
Oct 7, 2022
Contributor
Author
|
Should be ready after a rebase. |
Remove logs for now, will be replaced with `LoggerProvider` in the future.
Nevay
force-pushed
the
feature/instrumentation
branch
from
October 15, 2022 13:14
cb9149e to
d7c308d
Compare
brettmc
approved these changes
Oct 16, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds global (context-scoped) tracer provider & co, intended to replace the current
InstrumentationInterface.