Skip to content

Conversation

@JoshuaMoelans
Copy link
Member

@JoshuaMoelans JoshuaMoelans commented Jun 30, 2025

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

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.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

@vercel
Copy link

vercel bot commented Jun 30, 2025

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 1, 2025 1:24pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Visit Preview Jul 1, 2025 1:24pm

@codecov
Copy link

codecov bot commented Jun 30, 2025

Bundle Report

Changes will increase total bundle size by 861.38kB (4.08%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.8MB 861.38kB (7.88%) ⬆️
sentry-docs-client-array-push 9.8MB -6 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.64MB -0.0%
../instrumentation.js -3 bytes 973.36kB -0.0%
9523.js -3 bytes 949.31kB -0.0%
../app/[[...path]]/page.js.nft.json 287.13kB 691.41kB 71.02% ⚠️
../app/platform-redirect/page.js.nft.json 287.13kB 691.33kB 71.04% ⚠️
../app/sitemap.xml/route.js.nft.json 287.13kB 689.3kB 71.4% ⚠️
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 873.24kB -0.0%
static/chunks/7750-*.js -3 bytes 415.85kB -0.0%
static/461sPVgvcyFpYHOE3n-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/461sPVgvcyFpYHOE3n-*.js (New) 684 bytes 684 bytes 100.0% 🚀
static/5eoELqmEKgStCV6gBaZeB/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/5eoELqmEKgStCV6gBaZeB/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

@cursor
Copy link

cursor bot commented Jul 1, 2025

🚨 BugBot couldn't run

BugBot is experiencing high demand right now. Try again in a few minutes by commenting "bugbot run" (requestId: serverGenReqId_557d2e7f-5175-46c3-ae2d-2475bd3d6627).

@JoshuaMoelans JoshuaMoelans requested a review from supervacuus July 1, 2025 09:14
Copy link
Collaborator

@supervacuus supervacuus left a 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

Copy link
Collaborator

@supervacuus supervacuus left a 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>
@JoshuaMoelans JoshuaMoelans merged commit 6f53ba6 into master Jul 1, 2025
13 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/set_trace_clarification branch July 1, 2025 13:28
bitsandfoxes pushed a commit that referenced this pull request Jul 3, 2025
<!-- 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>
@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2025
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.

3 participants