-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix(native): Update Trace Boundaries documentation #14201
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 increase total bundle size by 861.38kB (4.08%) ⬆️. 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:
|
🚨 BugBot couldn't runBugBot is experiencing high demand right now. Try again in a few minutes by commenting "bugbot run" (requestId: serverGenReqId_557d2e7f-5175-46c3-ae2d-2475bd3d6627). |
supervacuus
left a comment
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.
Would now keep sentry_set_trace() and s/sentry_generate_trace/sentry_regenerate_trace
supervacuus
left a comment
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.
minor nit, but otherwise good to go.
Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> [Current docs](https://docs.sentry.io/platforms/native/tracing/instrumentation/custom-instrumentation/) [Updated docs (vercel preview)](https://sentry-docs-git-joshua-settraceclarification.sentry.dev/platforms/native/tracing/instrumentation/custom-instrumentation/#trace-boundaries) ## DESCRIBE YOUR PR Adding some more detailed explanation on the Native handling of trace boundaries & when/how to set a new trace. Only merge after getsentry/sentry-native#1293 ToDo - [x] add better explanation - [x] ? provide example of generating new trace/span ID? - we don't really have an API for this (yet), but we could reuse `sentry_uuid_t uid = sentry_uuid_new_v4();`? -> added in getsentry/sentry-native#1293 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ --------- Co-authored-by: Mischan Toosarani-Hausberger <mischan@abovevacant.com>
Current docs
Updated docs (vercel preview)
DESCRIBE YOUR PR
Adding some more detailed explanation on the Native handling of trace boundaries & when/how to set a new trace.
Only merge after getsentry/sentry-native#1293
ToDo
sentry_uuid_t uid = sentry_uuid_new_v4();?-> added in feat: add
sentry_regenerate_trace()sentry-native#1293IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.