datadog_trace

APM and distributed tracing for PHP


The Datadog PHP Tracer brings APM and distributed tracing to PHP.

License: BSD 3-Clause

Latest releases

Version Release Download
0.64.1 2021-09-08 datadog_trace-0.64.1.tgz
0.64.0 2021-09-03 datadog_trace-0.64.0.tgz
0.63.0 2021-08-18 datadog_trace-0.63.0.tgz
0.62.1 2021-07-28 datadog_trace-0.62.1.tgz
0.62.0 2021-07-20 datadog_trace-0.62.0.tgz
Show all releases

Changelog

Version Message
0.64.1 **WARNING**: Users doing manual instrumentation using the `GlobalTracer::get()->startActiveSpan()` api should update to this version from 0.63.0 and 0.64.0.

### Fixed
- Fix span start times of userland spans (#1312)
0.64.0 **WARNING**: With this release the file `_generated.php` is not used anymore and files `_generated_api.php` and `_generated_internal.php` are generated instead. This only impacts users having a very custom installation procedure that requires custom builds and manual copy of files.

### Added
- Bring ZAI config, internal spans, and improved exception handling to PHP 7 #1293

### Fixed
- Disable flaky ext/ftp tests on PHP <8.1 #1296
- Compatibility with PHP 7.4+ preloading #1298 (thank you @olsavmic for the investigation and reproduction case)
- Check for php8 binary in package/post-install.sh script #1301 (thank you for the contribution @daiwai)
- Support userland spans with custom root spans created internally #1303
- Fix memory leak of already defined global tags #1304
0.63.0 ### Added

- ZAI config (#1260)
- Use exceptions ZAI for PHP 7 as well (#1283)

### Fixed

- Fix arginfo of error & exception handler (#1291)
0.62.1 ### Fixed
- Add linux/securebits.h to CentOS docker container, to have it present in linux build artifacts #1286
- Handle an additional case of capabilities being dropped within our background sender #1287
0.62.0 ### Added
- ZAI env #1250
- Add ZAI component for reading headers #1256
- (PHP 8) Add proper exception and error reporting #1272
- (PHP 8) Register SpanData->exception property and store exception info there instead of internally #1281
### Changed
- Refactor internal span objects to be allocated together with their internal data #1254
- Enforce metrics to be floats in internal serializer #1258
- Allow for global debug mode, add zai testing to Makefile and more minor testing improvements #1265
- Move DDTrace\Format to src/api #1271
- Moving spans from userland to extension #1262
### Fixed
- Fix msgpack serialization of empty arrays #1259
- Set SECBIT_NO_SETUID_FIXUP to prevent crashes after setuid() calls #1276
- Apply original curl headers when curl_setopt_array() fails #1279
- Fix owner of files included in the distributed .tar.gz archive #1280
- Fix tests: Pin Symfony 4 tests to laminas/laminas-code < 4.4 #1266
Show complete changelog