openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Sentry profiling appears to no longer be working

Open cdrini opened this issue 1 month ago • 2 comments

https://sentry.archive.org/organizations/ia-ux/explore/profiling/?environment=production&project=7&statsPeriod=7d&tab=flamegraph

Image

Note the "Profiles (0)" on the right. These used to show a flamegraph.

Stakeholders

@scottbarnes

cdrini avatar Nov 19 '25 21:11 cdrini

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!

Eshaan-byte avatar Nov 21 '25 00:11 Eshaan-byte

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.

cdrini avatar Dec 08 '25 20:12 cdrini