-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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_identifier
processor_count
processor_frequency
supports_accelerometer
supports_audio
supports_gyroscope
supports_location_service
supports_vibration
- Add a GPU context and include one or more of the following keys:
max_texture_size
graphics_shader_level
supports_draw_call_instancing
supports_ray_tracing
supports_compute_shaders
supports_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
Labels
Projects
Status