-
Notifications
You must be signed in to change notification settings - Fork 502
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
Rename Provider to TracerProvider #206
Conversation
Rename Provider to TracerProvider.
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.
Looking good @awiede, just a few left in comments
opentelemetry-jaeger/src/lib.rs
Outdated
@@ -312,11 +312,11 @@ impl PipelineBuilder { | |||
} | |||
|
|||
/// Build a configured `sdk::Provider` with the recommended defaults. |
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.
May way to find all for stray comments like this one
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.
Thanks! A few changes that may needed in comments.
src/sdk/trace/provider.rs
Outdated
@@ -61,7 +61,7 @@ impl Provider { | |||
} | |||
} | |||
|
|||
impl api::Provider for Provider { | |||
impl api::TracerProvider for TracerProvider { | |||
/// This implementation of `api::Provider` produces `sdk::Tracer` instances. |
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.
/// This implementation of `api::Provider` produces `sdk::Tracer` instances. | |
/// This implementation of `api::TraceProvider` produces `sdk::Tracer` instances. |
Co-authored-by: Zhongyang Wu <[email protected]>
25660ed
to
4de0e55
Compare
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.
LGTM. Thanks!
Fixes #198
Rename
Provider
toTracerProvider
for bothapi::Provider
andsdk::Provider
.