getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
803 stars 316 forks source link

SDK wrongly parses MetricKit MXHangDiagnostic stack trace #4040

Open philipphofmann opened 4 months ago

philipphofmann commented 4 months ago

Description

The SDK reports MXCPUException and MXDiskWriteException correctly, but the stacktraces for MXHangDiagnostic don't make any sense.

To find sample events, use this Looker dashboard to find customers using the MetricKitIntegration.

philipphofmann commented 13 hours ago

We finally got a sample event with a raw MXDiagnosticPayload.json. Big thanks to @brustolin for sharing the data with us from his personal project.