-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ref(relay): Make cardinality limits more configurable #68158
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #68158 +/- ##
==========================================
- Coverage 79.39% 79.39% -0.01%
==========================================
Files 6380 6380
Lines 282789 282802 +13
Branches 48769 48771 +2
==========================================
+ Hits 224517 224523 +6
- Misses 57825 57832 +7
Partials 447 447
|
dd92e44
to
ec602e2
Compare
src/sentry/relay/config/__init__.py
Outdated
rollout_rate = clo.pop("rollout_rate", 1.0) | ||
if (project.organization.id % 100000) / 100000 >= rollout_rate: | ||
continue |
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.
nit: Could use the in_rollout_group
utility here.
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.
I saw that but it requires an option to be passed :(
Makes cardinality limits for Relay more configurable, to be able to test and roll them out more easily.
drop
from the sessions config was removed in getsentry/relay#3271 - required for the librelay update to work