Skip to content
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

[RUM-5393] Tracking non-fatal ANRs and app hangs #715

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

marco-saia-datadog
Copy link
Member

What does this PR do?

Adds tracking for non-fatal ANRs on Android and app hangs on iOS.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/RUM-5393/app-hangs-and-anrs branch 2 times, most recently from a25759b to 3b7e089 Compare August 6, 2024 09:14
@marco-saia-datadog marco-saia-datadog marked this pull request as ready for review August 6, 2024 09:43
@marco-saia-datadog marco-saia-datadog requested a review from a team as a code owner August 6, 2024 09:43
@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/RUM-5393/app-hangs-and-anrs branch from 3b7e089 to db70e4d Compare August 6, 2024 12:41
@@ -267,6 +267,30 @@ export class DdSdkReactNativeConfiguration {
*/
public bundleLogsWithTraces: boolean = DEFAULTS.bundleLogsWithTraces;

/**
* Enables tracking of non-fatal ANRs on Android.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we can call out these platform specific features in a better and more consistent way? Basically using the same language in both in the same place so that it's not missed...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering the same thing. We could align on some good naming for these parameters, do you have any ideas?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "This option is specific to Platform" as the second line and remove any other mention of platforms?

packages/core/ios/Sources/DdSdkNativeInitialization.swift Outdated Show resolved Hide resolved
@fuzzybinary
Copy link
Member

Looks good, I would just cleanup that one swift if let

@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/RUM-5393/app-hangs-and-anrs branch from db70e4d to f22e070 Compare August 9, 2024 09:09
@marco-saia-datadog marco-saia-datadog requested review from fuzzybinary and a team October 9, 2024 12:02
@marco-saia-datadog marco-saia-datadog force-pushed the marcosaia/RUM-5393/app-hangs-and-anrs branch from f22e070 to fc19da2 Compare October 9, 2024 12:06
@marco-saia-datadog marco-saia-datadog merged commit 180316b into develop Oct 9, 2024
6 checks passed
@marco-saia-datadog marco-saia-datadog deleted the marcosaia/RUM-5393/app-hangs-and-anrs branch October 9, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants