You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The primary issue is when Laravel Vapor with Octane ENABLED no root spans are created and only cache, db, curl, events, etc are included in the traces, and the most important laravel.request root spans are missing.
When running on Laravel Vapor WITHOUT Octane enabled, root spans are created for incoming requests correctly.
datadog-agent.local is the host where the Datadog agent is setup and running
I have tried various combinations of DD_TRACE_GENERATE_ROOT_SPAN=true/false and DD_TRACE_AUTO_FLUSH_ENABLED=true/false, as well as leaving DD_AUTOFINISH_SPANS=true out
Laravel Vapor is a bit of a blind post for us currently, as no testing was done with it. My current guess would be that we are not loading the Swoole/Roadrunner integrations, which could explain why root spans may be missing.
I'd have to set up a sample reproducer and investigate further. I certainly won't have time next week, but will try to look into it as soon as I can.
In the meanwhile, if you manage to spot anything relevant (such as an error) in the tracer debug logs (DD_TRACE_DEBUG: 1), this would be very useful 👍
Bug report
The primary issue is when Laravel Vapor with Octane ENABLED no root spans are created and only cache, db, curl, events, etc are included in the traces, and the most important
laravel.request
root spans are missing.When running on Laravel Vapor WITHOUT Octane enabled, root spans are created for incoming requests correctly.
My .env is as follows
datadog-agent.local
is the host where the Datadog agent is setup and runningI have tried various combinations of
DD_TRACE_GENERATE_ROOT_SPAN=true/false
andDD_TRACE_AUTO_FLUSH_ENABLED=true/false
, as well as leavingDD_AUTOFINISH_SPANS=true
outAs far as I'm aware, the request does not follow a regular Swoole/Roadrunner path and instead enters here https://github.com/laravel/vapor-core/blob/2.0/stubs/octaneRuntime.php
Any insight would be appreciated
Thanks in advance
PHP version
8.4.3
Tracer or profiler version
1.6.3
Installed extensions
No response
Output of
phpinfo()
No response
Upgrading from
No response
The text was updated successfully, but these errors were encountered: