-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
22.12.0
Link
No response
DSN
No response
Steps to Reproduce
- Create a new exception event
- Add a device context and include one or more of the following keys:
device_unique_identifierprocessor_countprocessor_frequencysupports_accelerometersupports_audiosupports_gyroscopesupports_location_servicesupports_vibration
- Add a GPU context and include one or more of the following keys:
max_texture_sizegraphics_shader_levelsupports_draw_call_instancingsupports_ray_tracingsupports_compute_shaderssupports_geometry_shaders
- Send the event to a native project
- View the event in issues
Expected Result
Values of the mentioned keys will be appropriately formatted or at least visible as they are described in the documentation: https://develop.sentry.dev/sdk/event-payloads/contexts/#device-context
Actual Result
Right now, the values for the device context are not even displayed in the administration, supposedly due to how unknown keys are handled:
sentry/static/app/components/events/contexts/device/getDeviceKnownDataDetails.tsx
Lines 222 to 223 in 664e9c8
| default: | |
| return undefined; |
This is what it looks like in the administration:

And this is the JSON of the device context from the event:

On the other hand, the mentioned keys of the GPU context are shown in the administration. They are just not properly formatted:
Metadata
Metadata
Assignees
Projects
Status
Status
