open-telemetry / opentelemetry-android

OpenTelemetry Tooling for Android
Apache License 2.0
147 stars 33 forks source link

[demo] Add a way to crash the application #347

Closed breedx-splk closed 3 weeks ago

breedx-splk commented 5 months ago

Not sure where to put it, but could be nice to have a menu item or a button on a fragment in the shop activity that causes the app to crash. This allows us to manually test the crash detection instrumentation.

For starters, we can just pick whatever crash mechanism we like and if we want to try other ways in the future we can do that.

marandaneto commented 5 months ago

shake to break it :D

magda-woj commented 1 month ago

hi @breedx-splk assign this to me

bidetofevil commented 3 weeks ago

It would be nice to track both JVM crashes and process terminations caused by the native layer - or something that simulates OS termination

breedx-splk commented 3 weeks ago

@bidetofevil this got auto-closed when #584 was merged. If you feel strongly about the native bits, can you open a new issue for that? I'd also appreciate some clever ideas on how to simulate that. 😁

bidetofevil commented 2 weeks ago

Will do!