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

feat: Flip sampling defaults to false #14627

Merged
merged 2 commits into from
Sep 16, 2019
Merged

Conversation

lynnagara
Copy link
Member

This only affects open source users as "projects:sample-events"
should already always be false for all SaaS users on sentry.io.

We should follow up by removing all of the associated sampling code.

This only affects open source users as "projects:sample-events"
should already always be false for all SaaS users on sentry.io.

We should follow up by removing all of the associated sampling code.
@@ -881,7 +881,7 @@ def create_partitioned_queues(name):
# Enable functionality for rate-limiting events on projects.
"projects:rate-limits": True,
# Enable functionality for sampling of events on projects.
"projects:sample-events": True,
"projects:sample-events": False,
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to retain this feature switch if its not used on saas?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's still being referenced right now, will remove it together with the code

@lynnagara lynnagara requested a review from a team September 10, 2019 21:18
@fpacifici
Copy link
Contributor

Technically someone using the open source version may still be relying on this. Do we need to communicate it before removing the feature ?

@lynnagara
Copy link
Member Author

@BYK Do you have any thoughts on this? For any open source users who are running Snuba / 10.x sampling probably hasn't worked as expected for quite a while.

@BYK
Copy link
Member

BYK commented Sep 11, 2019

Thanks for the heads up @lynnagara! We've already turned this off for v10 onpremise per @jan-auer's suggestion earlier: https://github.com/getsentry/onpremise/pull/220/files#diff-66f7c6c9e9f860724fb428123754dbaaR183

@lynnagara
Copy link
Member Author

It sounds like we don't need to communicate anything extra then. Since the feature is already kind of broken and we're removing it soon we could probably go ahead and take it out of the docs then to avoid any confusion. getsentry/sentry-docs#1216

@lynnagara lynnagara merged commit d01a0f0 into master Sep 16, 2019
@lynnagara lynnagara deleted the flip-sampling-defaults branch September 16, 2019 17:49
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants