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

Update provider to use AlwaysSampler instead of ProbabilitySampler #506

Merged
merged 6 commits into from
Mar 5, 2020

Conversation

MikeGoldsmith
Copy link
Member

Fixed #498.

sdk/trace/provider.go Show resolved Hide resolved
@rghetia
Copy link
Contributor

rghetia commented Mar 3, 2020

Not sure why default is AlwaysOn sampler in the spec. It should be the probability sampler.

@jmacd
Copy link
Contributor

jmacd commented Mar 3, 2020

AlwaysOn seems good to me, and it is what the specification states.

@MikeGoldsmith
Copy link
Member Author

@krnowak removed the cosnt as requested.

@MikeGoldsmith MikeGoldsmith requested a review from krnowak March 3, 2020 19:32
@MikeGoldsmith
Copy link
Member Author

Looking into test failures.

@MikeGoldsmith
Copy link
Member Author

@krnowak fixed the tests, this is ready for review.

Copy link
Member

@paivagustavo paivagustavo left a comment

Choose a reason for hiding this comment

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

LGTM! Just take a look at my discussion about unchanged texts and it is good to go :)

sdk/trace/trace_test.go Outdated Show resolved Hide resolved
@rghetia rghetia merged commit 161556a into open-telemetry:master Mar 5, 2020
MikeGoldsmith pushed a commit to MikeGoldsmith/opentelemetry-go that referenced this pull request Mar 13, 2020
…pen-telemetry#506)

* update provider to use AlwaysSampler instead of ProbabilitySampler

* remove unused defaultSamplingProbability constant

* fix broken tests

* update failure message in test

* fix test description

Co-authored-by: Rahul Patel <[email protected]>
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

Default sampler is incorrect
7 participants