Conversation
Add os.rooted, os.kernel_version, os.raw_description, and os.theme attributes from the Sentry Contexts Interface OS Context definition. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Other
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧Deps
Deps Dev
Other
🤖 This preview updates automatically when you update the PR. |
|
for mobile we use @Lms24 any preferences here on how to handle this? afaict it was added by Abhi last year. I guess to add some OTEL attributes |
|
I'd personally prefer going with the OTel-supported attribute for consistency but given there's product dependence on this attribute, we need a decision from product folks what they prefer. Ideally we can settle on one attribute and deprecate/not introduce the other. @mjq @nsdeschenes wdyt? For SDKs, we'll likely have to send both until the next major release to avoid breaking self-hosted setups (though we can be flexible here and decide case-by-case depending on data). |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
Add OS context attributes from the Sentry Contexts Interface:
os.rooted— Whether the OS has been jailbroken or rooted (boolean)os.kernel_version— Independent kernel version string, typically fromuname(string)os.raw_description— Unprocessed OS description string (string)os.theme— Whether the OS runs in dark or light mode (string)PR Checklist
yarn testand verified that the tests pass.yarn generateto generate and format code and docs.If an attribute was added:
nextjs.function_id, notfunction_id)pii(i.e.maybeortrue. Usefalseonly for values that should never be scrubbed such as IDs)