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

Profiling not working with Frankenphp

Open MuathIbnHassan opened this issue 1 month ago • 4 comments

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

MuathIbnHassan avatar Nov 19 '25 09:11 MuathIbnHassan

LARAVEL-46

linear[bot] avatar Nov 19 '25 09:11 linear[bot]

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?

Litarnus avatar Nov 19 '25 09:11 Litarnus

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 ?

MuathIbnHassan avatar Nov 19 '25 09:11 MuathIbnHassan

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

Litarnus avatar Nov 19 '25 10:11 Litarnus