sentry-android-gradle-plugin icon indicating copy to clipboard operation
sentry-android-gradle-plugin copied to clipboard

More Disk I/O autoinstrumentation

Open romtsn opened this issue 4 years ago • 2 comments

While implementing File I/O instrumentation, we realized that it will not cover most commons usecases like SharedPreferences or reading a file from assets, so we will need to plan for those separately. Potential list of things to instrument:

  • Scanner API (technically is a part of File I/O but rarely used in production, because it's slow)
  • assets (context.getAssets())
  • res/raw folder with raw resources like audio files and videos
  • SharedPreferences

romtsn avatar Nov 23 '21 13:11 romtsn

we could maybe split it out into different issues and link them together since all of them can be done separately and it'd take some time.

marandaneto avatar Dec 01 '21 15:12 marandaneto

SharedPreferences is heavily used in Android apps, worth investigating if we can get spans out of every operation.

marandaneto avatar Apr 04 '22 17:04 marandaneto