-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(native): update transaction docs #13715
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Bundle ReportChanges will increase total bundle size by 228 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-server-cjsAssets Changed:
view changes for bundle: sentry-docs-client-array-pushAssets Changed:
|
|
||
In its simplest form, used just for filtering the transaction, it looks like this: | ||
|
||
<PlatformContent includePath="performance/traces-sampler-as-sampler" /> |
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.
Other SDKs use a separate example (traces-sampler-as-filter
) but in our docs for completeness sake this would need to look very similar to the existing sampler-as-sampler example, so I opted to just point to the same one we already use in our Sampling docs.
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.
To be honest, I don't really see the difference in the Android example either. Both show that you change the rate based on some X. One can probably be dropped in, whereas the other drops the concrete conditionals for prose.
Maybe I am blind, but sampling and filtering based on a dice roll seem like the same thing to me. What do the docs try to achieve by marking the distinction? Or is this only about the surrounding text?
In any case, I think linking this is fine.
|
||
In its simplest form, used just for filtering the transaction, it looks like this: | ||
|
||
<PlatformContent includePath="performance/traces-sampler-as-sampler" /> |
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.
To be honest, I don't really see the difference in the Android example either. Both show that you change the rate based on some X. One can probably be dropped in, whereas the other drops the concrete conditionals for prose.
Maybe I am blind, but sampling and filtering based on a dice roll seem like the same thing to me. What do the docs try to achieve by marking the distinction? Or is this only about the surrounding text?
In any case, I think linking this is fine.
DESCRIBE YOUR PR
Part of getsentry/sentry-native#1236
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.