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

Configurable ANR detection time #1341

Open
kattemp opened this issue Aug 6, 2021 · 1 comment
Open

Configurable ANR detection time #1341

kattemp opened this issue Aug 6, 2021 · 1 comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@kattemp
Copy link

kattemp commented Aug 6, 2021

Description

ANRs detection limit is currently 5 seconds. We'd like to be able to lower this limit so that we can surface ANRs and identify the root cause more quickly.

Describe the solution you'd like

Make ANR detection time a configurable value

@mattdyoung
Copy link

Hi @kattemp

Thanks for the suggestion. Currently our ANR detection hooks into Android's concept of an ANR, so the ANR will be reported in Bugsnag if the ANR dialog is displayed, the conditions for which are described here:
https://developer.android.com/topic/performance/vitals/anr

I believe what you're suggesting is Bugsnag being able to detect and report an app hang of shorter duration, which doesn't trigger the Android ANR dialog but can still impact a user's experience of using the app.

That seems a reasonable feature request so we'll consider whether this is something we can add support for in the future.

@mattdyoung mattdyoung added backlog We hope to fix this feature/bug in the future feature request Request for a new feature labels Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants