Closed rmikalkenas closed 6 months ago
Hi, @rmikalkenas !
I can see from the output of your phpinfo that you have set DD_INTEGRATIONS_DISABLED
:
DD_INTEGRATIONS_DISABLED=amqp,cakephp,codeigniter,drupal,eloquent,laminas,laravel,laravelqueue,lumen,magento,memcache,memcached,mongo,mongodb,mysqli,nette,pcntl,phpredis,predis,psr18,slim,sqlsrv,wordpress,yii,zendframework
Did you try not setting DD_INTEGRATIONS_DISABLED
and relying solely on DD_TRACE_<INTEGRATION>_ENABLED
as they aren't meant to co-exist? More precisely, DD_INTEGRATIONS_DISABLED
is taking over if it is specifically set.
Hi, @rmikalkenas !
I can see from the output of your phpinfo that you have set
DD_INTEGRATIONS_DISABLED
:DD_INTEGRATIONS_DISABLED=amqp,cakephp,codeigniter,drupal,eloquent,laminas,laravel,laravelqueue,lumen,magento,memcache,memcached,mongo,mongodb,mysqli,nette,pcntl,phpredis,predis,psr18,slim,sqlsrv,wordpress,yii,zendframework
Did you try not setting
DD_INTEGRATIONS_DISABLED
and relying solely onDD_TRACE_<INTEGRATION>_ENABLED
as they aren't meant to co-exist? More precisely,DD_INTEGRATIONS_DISABLED
is taking over if it is specifically set.
@PROFeNoM you are right! Thanks for a quick jump in :pray: closing as resolved
Bug report
Tried to migrate deprecated
DD_INTEGRATIONS_DISABLED
env variable toDD_TRACE_<INTEGRATION>_ENABLED
, but looks like it does not work as expected and integrations keep enabled even though explicitly defined as disabled.Examples - should result to false:
DD_INTEGRATIONS_DISABLED works as expected:
Same results can be seen with other integrations as well.
Also, even though I defined wordpress as disabled (
DD_INTEGRATIONS_DISABLED=wordpress
), but at info output I seedatadog.trace.wordpress_enabled => On => On
. Not sure if it's a bug or expected behaviourPHP version
8.2.13
Tracer or profiler version
0.95.0
Installed extensions
Output of
phpinfo()
o.txt
Upgrading from
No response