I’m trying to enable distributed tracing for the PHP Agent running on Heroku.
I’ve tried setting an environment variable
NEW_RELIC_DISTRIBUTED_TRACING_ENABLED which did not work.
I’ve also added a
newrelic.ini file as per the documentation containing the following:
[newrelic] newrelic.enabled = true ; Enable distributed transaction tracing newrelic.transaction_tracer.enabled = true newrelic.distributed_tracing_enabled = true
ini_get('newrelic.distributed_tracing_enabled') show the value as disabled.
How do I enable distributed tracing for PHP on Heroku, or diagnose why it is not enabling when I believe it should be?