getsentry / getsentry/sentry-java

Report app exit reasons

未关闭
#3,958 9 条评论 1 个 reaction 已指派 1 人 已被 @markushi 认领 在 GitHub 查看
Android Errors Feature
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

### Problem Statement

`ApplicationExitInfo.getReasion()` provides a detailed breakdown why an app shut down. We should collect this information and report it:

* [`REASON_UNKNOWN`]()
* [`REASON_EXIT_SELF`]()
* [`REASON_SIGNALED`]()
* [`REASON_LOW_MEMORY`]()
* [`REASON_CRASH`]()
* [`REASON_CRASH_NATIVE`]()
* [`REASON_ANR`]()
* [`REASON_INITIALIZATION_FAILURE`]()
* [`REASON_PERMISSION_CHANGE`]()
* [`REASON_EXCESSIVE_RESOURCE_USAGE`]()
* [`REASON_USER_REQUESTED`]()
* [`REASON_USER_STOPPED`]()
* [`REASON_DEPENDENCY_DIED`]()
* [`REASON_OTHER`]()
* [`REASON_FREEZER`]()
* [`REASON_PACKAGE_STATE_CHANGE`]()
* [`REASON_PACKAGE_UPDATED`]()
* [`REASON_MEMORY_LIMITER`]()

### Solution Brainstorm

* Report as Metrics
* Report as Logs
* Enrich matching events (ANR events contain `REASON_ANR`)

┆Issue is synchronized with this [Jira Improvement]() by [Unito]()

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。