sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Integrate LeakCanary for production OOM/Leaks monitoring

Open romtsn opened this issue 1 year ago • 1 comments

Description

LeakCanary has a whole section on how to integrate heap analysis with bugsnag https://square.github.io/leakcanary/leakcanary-for-releases/.

We could do something similar and either send a new event, or send the analysis as an attachment or context for OOM events (depending on how long the analysis takes).

This has to be a new integration, because of dependency on leakcanary.

There's also a bunch of recipes here: https://github.com/square/leakcanary/issues/2119

romtsn avatar Jul 12 '24 13:07 romtsn