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

Add Continuous Profiling support (v8)

Open stefanosiano opened this issue 1 year ago • 2 comments

:scroll: Description

This is the first part for the continuous profiling support for Android. Internal doc is here

Part 1 Add the implementation of the continuous profiler itself

Part 2 -> https://github.com/getsentry/sentry-java/pull/3711 Create new envelope type and payload Create and send profile_chunk envelope

Part 3 -> https://github.com/getsentry/sentry-java/pull/3725 Instantiate profiler Set ProfileContext to transactions and spans Add performance collectors to the profiler

Part 4 -> https://github.com/getsentry/sentry-java/pull/3730 Handle app start profiling

Part 5 Add new user-facing APIs

Part 6 Update docs

:bulb: Motivation and Context

:green_heart: How did you test it?

Unit tests

:pencil: Checklist

  • [ ] I reviewed the submitted code.
  • [ ] 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.
  • [ ] 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 Sep 23 '24 09:09 stefanosiano