diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ca4c780e..8f3b4318d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,7 @@ - Protocol validation for source map image type. ([#1869](https://github.com/getsentry/relay/pull/1869)) - Strip quotes from client hint values. ([#1874](https://github.com/getsentry/relay/pull/1874)) -- Add PHP support for profiling. ([#1871](https://github.com/getsentry/relay/pull/1871)) -- Add Javascript support for profiling. ([#1876](https://github.com/getsentry/relay/pull/1876)) +- Add Dotnet, Javascript and PHP support for profiling. ([#1871](https://github.com/getsentry/relay/pull/1871), [#1876](https://github.com/getsentry/relay/pull/1876), [#1885](https://github.com/getsentry/relay/pull/1885)) **Bug Fixes**: diff --git a/relay-profiling/src/lib.rs b/relay-profiling/src/lib.rs index 34c83392ee..31f925239d 100644 --- a/relay-profiling/src/lib.rs +++ b/relay-profiling/src/lib.rs @@ -119,6 +119,7 @@ pub use crate::outcomes::discard_reason; enum Platform { Android, Cocoa, + Dotnet, Javascript, Node, Php, diff --git a/relay-profiling/src/sample.rs b/relay-profiling/src/sample.rs index 22a765d336..1136850a1f 100644 --- a/relay-profiling/src/sample.rs +++ b/relay-profiling/src/sample.rs @@ -175,9 +175,11 @@ impl SampleProfile { && self.device.manufacturer.is_some() && self.device.model.is_some() } - Platform::Python | Platform::Javascript | Platform::Node | Platform::Php => { - self.runtime.is_some() - } + Platform::Dotnet + | Platform::Javascript + | Platform::Node + | Platform::Php + | Platform::Python => self.runtime.is_some(), _ => true, } }