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(js): Improve tracesSampler docs for JS #10759

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Jul 17, 2024

Related to getsentry/sentry-javascript#12945

This updates the JS docs around sampling with tracesSampler. First, we had two redundant sections about the sampling conrtext - I condended this into one section.

Then, I also explained further that the name may not be the final name, because this may be confusing, and also added an example (which I think is the most common one people may run into).

@mydea mydea self-assigned this Jul 17, 2024
Copy link

vercel bot commented Jul 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2024 8:08am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Visit Preview Jul 17, 2024 8:08am

Copy link

codecov bot commented Jul 17, 2024

Bundle Report

Changes will decrease total bundle size by 546 bytes ⬇️

Bundle name Size Change
sentry-docs-server 9.26MB 537 bytes ⬇️
sentry-docs-edge-server 255.01kB 3 bytes ⬇️
sentry-docs-client 7.88MB 6 bytes ⬇️

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Nice!

@mydea mydea merged commit 25fa49b into master Jul 17, 2024
8 checks passed
@mydea mydea deleted the fn/tracesSamplerName branch July 17, 2024 09:10
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2024
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.

2 participants