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

Move the Sampler interface to the sdk #169

Merged
merged 1 commit into from
Aug 6, 2020
Merged

Move the Sampler interface to the sdk #169

merged 1 commit into from
Aug 6, 2020

Conversation

craigpastro
Copy link
Contributor

Move the Sampler interface to the SDK and also rename it to ShouldSample. I also tried to update the documentation when necessary by replacing things like "OpenTelemetry API defines a Sampler interface ..." with "OpenTelemetry SDK defines a ShouldSample interface ...". I think I got all the relevant ones, but please check. Thank you.

Closes #160.

@craigpastro craigpastro requested a review from a team August 5, 2020 00:24
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.

Looks great thanks @siyopao

@jtescher jtescher merged commit 61b8c94 into open-telemetry:master Aug 6, 2020
@craigpastro craigpastro deleted the remove-sampler-from-api branch August 7, 2020 00:00
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.

Remove sampler interface from API
2 participants