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

Send Timber logs through Sentry Logs

Open stefanosiano opened this issue 8 months ago • 2 comments

:scroll: Description

Logs captured by Timber are now sent as Sentry Logs

:bulb: Motivation and Context

Closes https://github.com/getsentry/sentry-java/issues/4407

:green_heart: How did you test it?

:pencil: Checklist

  • [ ] I added tests to verify the changes.
  • [ ] No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • [ ] I updated the docs if needed.
  • [ ] I updated the wizard if needed.
  • [ ] Review from the native team if needed.
  • [ ] No breaking change or entry added to the changelog.
  • [ ] No breaking change for hybrid SDKs or communicated to hybrid SDKs.

:crystal_ball: Next steps

stefanosiano avatar Jun 13 '25 14:06 stefanosiano

Messages
:book: Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by :no_entry_sign: dangerJS against d4c9a7c2947e755ad599e7ec674f7b137a8587a9

github-actions[bot] avatar Jun 13 '25 14:06 github-actions[bot]

Performance metrics :rocket:

  Plain With Sentry Diff
Startup time 425.53 ms 469.40 ms 43.87 ms
Size 1.58 MiB 2.09 MiB 518.92 KiB

Previous results on branch: feat/timber-sentry-logs

Startup times

Revision Plain With Sentry Diff
dd482b5a64afaa16d0cbcbb306dab162ac1c118b 405.70 ms 418.73 ms 13.03 ms
07acfff5211a19094a7f5550d4ce84e0cc84f46b 386.38 ms 412.92 ms 26.54 ms
a3c7c46b425db7a5efddf76394d4c34ee1b3adea 399.67 ms 444.53 ms 44.86 ms

App size

Revision Plain With Sentry Diff
dd482b5a64afaa16d0cbcbb306dab162ac1c118b 1.58 MiB 2.09 MiB 518.90 KiB
07acfff5211a19094a7f5550d4ce84e0cc84f46b 1.58 MiB 2.08 MiB 511.32 KiB
a3c7c46b425db7a5efddf76394d4c34ee1b3adea 1.58 MiB 2.08 MiB 511.32 KiB

github-actions[bot] avatar Jun 13 '25 15:06 github-actions[bot]