In-Touch / newrelic

Composer Package for NewRelic Wrapper
37 stars 11 forks source link

Add support for distributed tracing #25

Open donaldducky opened 5 years ago

donaldducky commented 5 years ago

https://docs.newrelic.com/docs/agents/php-agent/features/distributed-tracing-php-agent#manual

This pull request adds support for distributed tracing methods.

I had to add some feature detection to see if distributed tracing was available in DefaultHandler.

This comment says it should support Agent version 3.1+ and PHP 5.3+ (I noticed composer.json says we need php >= 7.0.0) https://github.com/In-Touch/newrelic/blob/93d6565a5760f1d84255455a5b1dc4004c601ad0/src/Newrelic.php#L26