Open leonardocaldas opened 1 year ago
Hello @leonardocaldas. This might be a long shot, but are you maybe looking at "non-web" transactions in New Relic UI (Transaction type -> Non-web)?
Hey @ksimenic, I've already checked that option, when Octane is enabled, no Web data is sent to NewRelic, my guess is that because Octane runs on top of RoadRunner/Swoole, somehow the NewRelic's agent is not able to scan/listen those executions, and as soon as I disable Octane, it starts working again.
Also, because of PHP's nature, where in every request the code has to be fully loaded again and again to be able to handle the request, I believe the NewRelic's agent somehow depends on this bootstrap process to identify new requests are coming in and to send data to their servers.
Hey @ksimenic, I've tried your solution, but I don't think it considers the possibility of running Laravel Octane together with Vapor.
I can confirm it works without Octane, but it would be nice if it was possible to run with Octane as well.