Skip to content

Conversation

JoshuaMoelans
Copy link
Member

DESCRIBE YOUR PR

Related to the changes in getsentry/sentry-native#1326 , we update our docs where they explicitly mention the available sentry_value_t types.

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+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Copy link

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

Copy link

codecov bot commented Jul 31, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.85MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.34MB 1.03kB (0.01%) ⬆️

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.77MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%
../app/[[...path]]/page.js.nft.json 346 bytes 733.16kB 0.05%
../app/platform-redirect/page.js.nft.json 346 bytes 733.07kB 0.05%
../app/sitemap.xml/route.js.nft.json 346 bytes 730.54kB 0.05%
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 882.81kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
server/middleware-*.js -5.55kB 1.0kB -84.74%
static/Vc276KWjedNx1nqD8XV61/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/Vc276KWjedNx1nqD8XV61/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/J6mt3QMQa6BeYYs66u9XI/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/J6mt3QMQa6BeYYs66u9XI/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

You can add Data Attributes to both Spans and Transactions. This data is visible in the trace explorer in Sentry.
The data must be of type `sentry_value_t`, which can store:
* 32-bit signed integers,
* 64-bit signed and unsigned integers,
Copy link
Member Author

@JoshuaMoelans JoshuaMoelans Jul 31, 2025

Choose a reason for hiding this comment

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

Should we mention that 64-bit unsigned values get sent as Strings until further notice? For context, see getsentry/sentry-native#1326 (comment) . Not sure how relevant this is for most users.

e.g. add something like

<Alert level="warning">

Currently, 64-bit unsigned integers are sent as strings, since they can't be processed as numerical values yet.

</Alert>

Copy link
Member

@kahest kahest Jul 31, 2025

Choose a reason for hiding this comment

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

I think it's a good idea to mention it (see below why), but I'd probably rephrase it:

* 64-bit signed integers,
* 64-bit unsigned integers (due to a current limitation, these will be converted to strings before sending),

wdyt?

why mention it at all: as we just discussed offline, data properties can be searched, and (un)signed int64 values will show up as both number (int64) and string (uint64) keys, this means that the actual user experience differs for unsigned int64 values

Copy link
Collaborator

@jpnurmi jpnurmi left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@JoshuaMoelans JoshuaMoelans merged commit a060e71 into master Aug 1, 2025
13 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/native/int64_support branch August 1, 2025 07:46
@github-actions github-actions bot locked and limited conversation to collaborators Aug 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