-
Notifications
You must be signed in to change notification settings - Fork 516
Simplify trace core traits #664
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
Conversation
This patch removes the `std::fmt::Debug` and `'static` requirements from the `TracerProvider`, `Tracer`, and `Span` traits as they are not generally necessary. `'static` is only required in the global module context.
Codecov Report
@@ Coverage Diff @@
## main #664 +/- ##
==========================================
+ Coverage 63.41% 63.81% +0.39%
==========================================
Files 95 95
Lines 7796 7748 -48
==========================================
Hits 4944 4944
+ Misses 2852 2804 -48
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me, nice!
# Conflicts: # opentelemetry/src/trace/tracer_provider.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
* Simplify trace core traits This patch removes the `std::fmt::Debug` and `'static` requirements from the `TracerProvider`, `Tracer`, and `Span` traits as they are not generally necessary. `'static` is only required in the global module context. * Remove tests that rely on debug impls * Fix clippy lints Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
* Simplify trace core traits This patch removes the `std::fmt::Debug` and `'static` requirements from the `TracerProvider`, `Tracer`, and `Span` traits as they are not generally necessary. `'static` is only required in the global module context. * Remove tests that rely on debug impls * Fix clippy lints Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
This patch removes the
std::fmt::Debug
and'static
requirements from theTracerProvider
,Tracer
, andSpan
traits as they are not generally necessary.'static
is only required in the global module context.