-
Notifications
You must be signed in to change notification settings - Fork 171
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
Move InstrumentationLibrary key generation logic out of TracerProvider/SpanConverter [#619] #663
Move InstrumentationLibrary key generation logic out of TracerProvider/SpanConverter [#619] #663
Conversation
Factors key generation logic for InstrumentationLibrary instances out to a helper method in a utils class.
Thanks for opening your first pull request! If you haven't yet signed our Contributor License Agreement (CLA), then please do so that we can accept your contribution. A link should appear shortly in this PR if you have not already signed one. |
Could use some feedback on the new |
Phan doesn't like it, couldn't see an acceptable workaround.
@ditsuke welcome aboard! re: class naming, I think |
Codecov Report
@@ Coverage Diff @@
## main #663 +/- ##
============================================
+ Coverage 84.27% 84.28% +0.01%
- Complexity 1152 1153 +1
============================================
Files 127 128 +1
Lines 2786 2788 +2
============================================
+ Hits 2348 2350 +2
Misses 438 438
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Changes the key generator's namespace to Util\Instrumentation and classname to KeyGenerator, refactoring usages.
@ditsuke |
b84e3bb
to
0f3665e
Compare
Also renames the other 2 tests for descriptiveness.
Thanks! |
PR for Issue #619.
Factors key generation logic for InstrumentationLibrary instances out to a helper method in a utils class, replacing generation in
TracerProvider
andSpanConverter
with calls to the new method.