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

[Statsig] Sample router events #4143

Merged
merged 1 commit into from
May 21, 2024
Merged

[Statsig] Sample router events #4143

merged 1 commit into from
May 21, 2024

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented May 21, 2024

Adds simple sampling mechanism. For now enabling just for the noisiest event.

Test Plan

Add some console logs. Verify that usually, the nav events get filtered out. Verify that forcing the probability to be lower results in sending nav events.

Copy link

render bot commented May 21, 2024

@pfrazee pfrazee merged commit d6625c2 into main May 21, 2024
6 checks passed
@pfrazee pfrazee deleted the statsig-sampling branch May 21, 2024 03:28
Copy link

Old size New size Diff
6.87 MB 6.87 MB 108 B (0.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.

2 participants