Skip to content

Expose "launch reason" or OOM state #866

Open
@bolsinga

Description

@bolsinga

Description

It would be nice to know "why is the app launching?" Basically we'd like to know if we're re-launching due to a crash, or an OOM, etc. This will allow us to monitor what is going wrong more closely.

Describe the solution you'd like
Right now there is +[Bugsnag appDidCrashLastLaunch]. How about an enumeration about why the application launched? Something along the lines of https://eng.uber.com/startup-reason-reporter/

Describe alternatives you've considered
Right now we use private interfaces in Bugsnag to get -[BSGOutOfMemoryWatchdog didOOMLastLaunch] in v5, and -[BugsnagClient shouldReportOOM] in v6

Related requests with #570.

Additional context
We basically just want to monitor with our own services if Bugsnag believes an OOM has occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for a new featureneeds discussionRequires internal analysis/discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions