-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MXCPUException events are incredibly noisy #4109
Comments
Hello @dfed thanks for reaching out. The In the mean time, if you really wants to disable it: SentrySDK.start { options in
//...
options.enableMetricKit = false
} |
@dfed are you on sentry.io and would you be able to share links to the issues you mentioned? You can link them either here or send them to my email [email protected] |
I'm not on sentry.io but I'll forward you links shortly. Apologies for the delay! |
@dfed Thanks a lot, this is definitely helpful. We'll need to investigate and follow up here. Please be aware that due to conferences and PTOs we're currently a bit slower than usual. |
@dfed, the quality of the stacktraces depends on MetricKit. The Cococ SDK takes them and parses them to Sentry events. The problem I see is that most of your MXCPUException events have the same title as Sentry uses the inApp frames to determine the title. Still, issue seems to have a different stacktrace for the root cause. Can you post some examples of issues you merged? |
Apologies for the delay responding! I don't know which issues I've merged at this point. I just know that without any event grouping the issues filed couldn't be prioritized, and the volume of issues created any time a user entered this exception state meant these alerts were effectively noise. |
@dfed, I checked your events again, and I see some top most frames in a package called GameController, that could potentially be inApp, but they aren't. So should these frames be inApp? If yes, maybe you need to add GameController to inAppIncludes or you could change the stacktrace rules in your project, so we mark them as inApp, because then Sentry considers them for grouping. |
Platform
iOS
Environment
Production, TestFlight
Installed
Swift Package Manager
Version
8.26.0
Xcode Version
15.4
Did it work on previous versions?
No
Steps to Reproduce
Have MXCPUExceptions thrown in your app – I'm not sure what Sentry flags turn this on or off
Expected Result
MXCPUExceptions on a single page or encountered by a single user within a certain small time period get duplicated into the same issue
Actual Result
When a single user enters a state where their app starts throwing MXCPUException, we get half a dozen issues filed at once. I find myself spending a ton of time going through and duplicating/merging issues. I'm at a point where I want to turn off tracking for this kind of error but I'm not sure which dial to turn.
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: