[Runtime] SymfonyRuntime supports custom FrankenPHP worker runner#62383
[Runtime] SymfonyRuntime supports custom FrankenPHP worker runner#62383Scarbous wants to merge 1 commit intosymfony:7.4from
Conversation
|
Have you tried using the events: |
|
I think Nicolas' suggestion here #62130 (comment) is simpler for this use case. |
|
I also think that decorating the kernel is a good way to solve such a problem (refs: php-runtime/runtime#183 (comment)) |
|
Instead of adding such extension point (which will only be available in Symfony 8.1 in 6.5 months from now anyway, given that we are 1.5 month after the feature freeze of 7.4 and 8.0), I suggest you to contact the Tideways team to request automatic instrumentation of the Frankenphp worker mode in the tideways extension. I'm 99% sure it would be possible for them to instrument this |
|
Let me close as alternatives look indeed better, even if they're not available (yet). |
We use tideways in our projects.
When frankenPHP run in worker mode we have to start and stop profiling by our own.
https://support.tideways.com/documentation/setup/installation/frankenphp.html#code-changes-to-frankenphp_handle_request-callback
This PR is a alternativ solution to #62130
I want to use a custom
FrankenPhpWorkerRunnerlike: