Profiling not working with Frankenphp
How do you use Sentry?
~Sentry SaaS (sentry.io)~ Self-hosted / on-premises
SDK version
4.19.0
Laravel version
12.38.1
Steps to reproduce
1- installed octane and sentry 2- deployed the app in k8s cluster using https://github.com/exaco/laravel-docktane FrankenPHP image after adding excimer 3- enabled traces_sample_rate and profiles_sample_rate 4- waited for Profiles ... forever
Switching to swoole fixed the issue
Expected result
Sentry should send profiles
Actual result
nothing sent from the SDK
Hi @MuathIbnHassan! Thanks for opening this issue.
We are not officially fully FrankenPHP compatible but we are working on that to be in the near future.
That said, do you receive other data from the SDK, especially transactions?
thanks for the clarification
everything else is working fine, we've been using that image it in production for two months now and most other features seem to work as expected
Any specific feature you want me to check ?
Also, how near do you think profiler will be supported ?
Profile data is attached to transactions, so if you receive them normally the problem seems to be with collecting profiling data.
Unfortunately I cannot give you a timeframe when I get to look at this, but I will try to reproduce it locally and see if this can be fixed easily. I will reach out when I have some results.
Generally we aim to support FrankenPHP with the next major of our base SDK, you can see the progress here: https://github.com/getsentry/sentry-php/issues/1784