Skip to content

Commit

Permalink
Sentry: Enable profiling for issue debugging
Browse files Browse the repository at this point in the history
Enable processor usage profiling for the app to gather information for
potential bottleneck tracking.

Signed-off-by: Christopher Snowhill <[email protected]>
  • Loading branch information
kode54 committed Feb 26, 2025
1 parent d47a96a commit bde8f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Application/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ - (void)observeValueForKeyPath:(NSString *)keyPath
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
options.tracesSampleRate = @1.0;
options.profilesSampleRate = @1.0;

// Adds IP for users.
// For more information, visit: https://docs.sentry.io/platforms/apple/data-management/data-collected/
Expand Down

0 comments on commit bde8f23

Please sign in to comment.