updated sentry options

This commit is contained in:
Mauro Romito
2025-03-10 17:16:20 +01:00
parent c7c8d78fea
commit bb18b075e6

View File

@@ -28,9 +28,25 @@ struct SentryMonitoringClient {
options.sampleRate = 0.1
options.tracesSampleRate = 0.1
// Disable unnecessary network tracking
// Sentry swizzling shows up quite often as the heaviest stack trace when profiling
// We don't need any of the features it powers (see docs)
options.enableSwizzling = false
// WatchdogTermination is currently the top issue but we've had zero complaints
// so it might very well just all be false positives
options.enableWatchdogTerminationTracking = false
// Disabled as it seems to report a lot of false positives
options.enableAppHangTracking = false
// Most of the network requests are made Rust side, this is useless
options.enableNetworkBreadcrumbs = false
options.enableNetworkTracking = false
// Doesn't seem to work at all well with SwiftUI
options.enableAutoBreadcrumbTracking = false
// Experimental. Stitches stack traces of asynchronous code together
options.swiftAsyncStacktraces = true
options.beforeSend = { event in
// Use the actual error message as issue fingerprint