-
-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous profiling #3555
Comments
This was referenced Mar 29, 2024
This was referenced Apr 23, 2024
This was referenced Apr 27, 2024
This was referenced May 5, 2024
This was referenced May 14, 2024
This was referenced May 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today, a profile can last up to 30 seconds and must be transmitted attached to a transaction that ran concurrently with it. This was done in part to keep memory growth of the profiling data constrained.
This body of work will transition the SDK to being able to run the profiler continuously. Periodically, profiling data will be chunked and transmitted where it can be stitched together later in the backend using a profiling "instance" ID that is set each time the profiler is started. The profile payloads will record information about root spans that were active during the profile.
This will require refactoring the profiler itself, the interface between the profiler and the tracer, and the profile payload schema.
Internal tracking: https://www.notion.so/sentry/Continuous-Profiling-iOS-d354219c683545a6b2806de8eb8bde67?pvs=4
Planning doc: https://www.notion.so/sentry/Continuous-Profiling-9d64a809ed2d487b89e4aa0358bfac18?pvs=4
The text was updated successfully, but these errors were encountered: