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

Rename Provider to TracerProvider #206

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

awiede
Copy link

@awiede awiede commented Sep 1, 2020

Fixes #198

Rename Provider to TracerProvider for both api::Provider and sdk::Provider.

Rename Provider to TracerProvider.
@awiede awiede requested a review from a team September 1, 2020 22:37
Copy link
Member

@jtescher jtescher left a 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

@@ -312,11 +312,11 @@ impl PipelineBuilder {
}

/// Build a configured `sdk::Provider` with the recommended defaults.
Copy link
Member

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

Copy link
Contributor

@TommyCpp TommyCpp left a 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.

@@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// This implementation of `api::Provider` produces `sdk::Tracer` instances.
/// This implementation of `api::TraceProvider` produces `sdk::Tracer` instances.

@awiede
Copy link
Author

awiede commented Sep 1, 2020

Good catches @jtescher / @TommyCpp! I think I got all the comments now.

Copy link
Contributor

@TommyCpp TommyCpp left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@jtescher jtescher merged commit 0e37632 into open-telemetry:master Sep 2, 2020
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.

Rename Provider to TracerProvider
3 participants