Skip to content

Conversation

@cleptric
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Nov 3, 2025 1:33pm
sentry-docs Ready Ready Preview Comment Nov 3, 2025 1:33pm

Comment on lines 70 to 74
"app.feature_flag.enabled": {
type: "boolean",
value: true
},
Copy link
Member

Choose a reason for hiding this comment

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

IMO we should allow for an API that allows for the SDK to infer the type for the user. Otherwise this becomes more annoying for the dynamic language sdks.

The attributes API currently in logs doesn't allow for users to specify the type.


Attributes are key-value pairs where each value is an object containing:

- `type`: The data type (`"string"`, `"integer"`, `"double"`, or `"boolean"`)
Copy link
Member

Choose a reason for hiding this comment

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

I think we can be less strict here. If we allow for more types, we can cast complex types to string and still allow them to be set. I think this makes it an easier API for users to use, and feels very easy to transition from contexts.

@codecov
Copy link

codecov bot commented Nov 3, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 10.16MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.84MB 468 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.74MB -0.0%
../instrumentation.js -3 bytes 1.07MB -0.0%
9523.js -3 bytes 1.04MB -0.0%
../app/[[...path]]/page.js.nft.json 159 bytes 847.12kB 0.02%
../app/platform-redirect/page.js.nft.json 159 bytes 847.04kB 0.02%
../app/sitemap.xml/route.js.nft.json 159 bytes 844.27kB 0.02%
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.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/Npg5g6H6ci2Bt0L6VbS5X/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/Npg5g6H6ci2Bt0L6VbS5X/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/z5APyV7ycZaSG4hICz1P2/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/z5APyV7ycZaSG4hICz1P2/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

@cleptric cleptric merged commit f1e06ae into master Nov 3, 2025
13 checks passed
@cleptric cleptric deleted the global-attributes branch November 3, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants