getsentry / getsentry/sentry-java
Instrument WorkManager and Jobs
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 478
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 69
Description
### Description
We could instrument Android's [WorkManager](https://developer.android.com/topic/libraries/architecture/workmanager) (and maybe other schedulers like [AlarmManager](https://developer.android.com/develop/background-work/services/alarms/schedule) or [JobDispatcher](https://developer.android.com/develop/background-work/background-tasks/persistent/migrate-from-legacy/firebase)) and power our `Queues` module.
Potential things we could capture:
* Job Status
* Job Start timestamp
* Job Duration
* Job Retries
* Job Constraints (network, etc)
* Job Frequency
* Call Stack
Android Studio's Jobs/Task inspector for inspiration:

Contributor guide
Research direction
Start by reading Android's WorkManager documentation and locating the repository's Queues module. Compare the proposed WorkManager integration with AlarmManager and JobDispatcher, then define which job signals are in scope and how they should be represented. The issue does not name implementation files or tests, and completion criteria are not yet specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, kotlin
- Domain
- mobile, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100