Sentry profiling appears to no longer be working
https://sentry.archive.org/organizations/ia-ux/explore/profiling/?environment=production&project=7&statsPeriod=7d&tab=flamegraph
Note the "Profiles (0)" on the right. These used to show a flamegraph.
Stakeholders
@scottbarnes
Closes #11495 Hi! I noticed this issue was related to Sentry profiling not working. After researching the Sentry documentation, I found that SDK versions 2.24.1+ require continuous profiling configuration instead of the older transaction-based approach.
This PR adds the profile_session_sample_rate and profile_lifecycle parameters while keeping the existing profiles_sample_rate for backward compatibility. Happy to make any adjustments if needed!
It appears the issue is an issue with sentry itself: https://github.com/getsentry/self-hosted/issues/4012 and will resolve with the next release, so there is no code change needed on our side.