getsentry / getsentry/sentry-java
Allow for Replay sessions over 60 minutes (or start a new session when 60m cap is hit)
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
### Problem Statement
Opening based on a discussion with potential Sentry users:
Scenario:
- We want to capture continuous sessions on kiosk-style and handheld devices in our warehouse
- There are a relatively low number of devices and users of these apps compared to a consumer-facing app, so we would want to capture 100% of sessions
- There is a limit of 60 minutes per session with Android's Replay feature and a new session does not automatically start like it does on web Replay in [session mode](https://docs.sentry.io/platforms/javascript/guides/react/session-replay/understanding-sessions/#session-mode)
A current potential workaround for this is to automatically trigger a backgrounding and foregrounding of the app every 60 minutes to trigger the start of a new session, but it would be preferable to have this happen automatically and uninterrupted, without taking such an action.
### Solution Brainstorm
We could either allow for sessions over 60 minutes (devices are continuously on throughout the workday for a period of many hours), or automatically start new sessions when the 60 minute limit is hit.
貢獻指南
研究方向
Issue 中沒有指定檔案或測試。首先追蹤 Android Replay 工作階段的生命週期,以及 60 分鐘上限的實作。完成的標準是支援超過 60 分鐘的不中斷工作階段,或在達到上限時自動啟動新的工作階段,並確保其行為適合持續執行的裝置。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, kotlin
- 領域
- mobile
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100