-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(js): Document how to disable tracing #14268
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 ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will decrease total bundle size by 14.2kB (-0.06%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
|
- <PlatformLink to="/tracing/instrumentation/">Instrumentation</PlatformLink>: | ||
Find information about manual instrumentation with the Sentry SDK | ||
- <PlatformLink to="/tracing/span-metrics/">Sending Span Metrics</PlatformLink>: | ||
Learn how to capture metrics on your spans | ||
|
||
## Disabling Tracing | ||
|
||
If you want to disable tracing, you _should not_ set `tracesSampleRate` at |
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.
On the options page we also say "Either this or tracesSampler
must be defined to enable tracing." (where "this" refers to tracesSampleRate)
It would make sense to me to mention the tracesSampler
option here too
Co-authored-by: Sigrid Huemer <32902192+s1gr1d@users.noreply.github.com>
1946115
to
dea567f
Compare
Closes #14267
This adds more explicit docs explaining how to disable tracing, as this sometimes is confusing for folks.