-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(dynamic-sampling): add explanatory message on settings page for orgs that don't have dynamic sampling or custom sample rates #90358
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
Conversation
shellmayr
commented
Apr 25, 2025
•
edited
Loading
edited
- Add a message when Dynamic Sampling is not available at all, pointing users to documentation
- Add a message when Dynamic Sampling is available, but not Custom Sample Rates, pointing users to documentation about Sampling Priorities
Org Type | Before | After |
---|---|---|
No Dynamic Sampling | ![]() |
![]() |
Only Sampling Priorities | ![]() |
![]() |
…orgs that don't have dynamic sampling or custom sample rates
…namic-sampling-settings-page
!hasDynamicSamplingCustomFeature(organization) | ||
) { | ||
return ( | ||
<Alert.Container> |
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.
we probably do not need the container, since there is no element below the alert
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.
it looks good to me.
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #90358 +/- ##
==========================================
- Coverage 87.86% 87.82% -0.05%
==========================================
Files 10276 10270 -6
Lines 581600 579632 -1968
Branches 22633 22633
==========================================
- Hits 511046 509034 -2012
- Misses 70120 70164 +44
Partials 434 434 |