diff --git a/CHANGELOG.md b/CHANGELOG.md index 6414652324..558619c903 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +**Internal**: + +- Support `device.model` in dynamic sampling and metric extraction. ([#2728](https://github.com/getsentry/relay/pull/2728)) + ## 23.11.0 **Features**: diff --git a/relay-event-schema/src/protocol/event.rs b/relay-event-schema/src/protocol/event.rs index 3ff95bb248..6974696e8c 100644 --- a/relay-event-schema/src/protocol/event.rs +++ b/relay-event-schema/src/protocol/event.rs @@ -669,6 +669,7 @@ impl Getter for Event { "contexts.device.brand" => self.context::()?.brand.as_str()?.into(), "contexts.device.charging" => self.context::()?.charging.value()?.into(), "contexts.device.family" => self.context::()?.family.as_str()?.into(), + "contexts.device.model" => self.context::()?.model.as_str()?.into(), "contexts.device.locale" => self.context::()?.locale.as_str()?.into(), "contexts.device.online" => self.context::()?.online.value()?.into(), "contexts.device.orientation" => self