-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Document global attributes #15279
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
Document global attributes #15279
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| "app.feature_flag.enabled": { | ||
| type: "boolean", | ||
| value: true | ||
| }, |
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.
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"`) |
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.
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.
d88971a to
c8f9a87
Compare
Bundle ReportChanges will increase total bundle size by 462 bytes (0.0%) ⬆️. 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:
|
…ntry/sentry-docs into docs/span-metrics-examples * 'docs/span-metrics-examples' of https://github.com/getsentry/sentry-docs: (29 commits) chore: Rename 404 lint job (#15403) Update prevent Discord link (#15402) fix incorrect urls (#15400) fix: Typos (#15401) feat(replay): Add screenshotStrategy option for React Native (#15334) docs(sdks): New Span API (#11939) fix (docs) Render integartions inside highlight block (#15388) fix(python): `mcp.transport` correct values (#15394) docs(limits): Update docs to match new size limits for events/attachments (#15395) Fix typos across file types & add automation (#15385) Fix 404 linter (#15312) feat(billing): Updated invoice terms to receipts and bills (#15374) fix: Update GitHub app URL from apps/sentry-io to /apps/sentry (#15386) fix(billing): Correct billing-related actions for roles (#15370) Document global attributes (#15279) docs(godot): Update before-send examples (#15306) docs(godot): User Feedback UI (aka widget) (#15304) fix(python): Remove memcached references (#15380) feat(native): external crash reporter (#15244) docs(self-hosted): provide more insights on troubleshooting kafka (#15131) ...
No description provided.