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
1.8.0 2025-04-01 datadog_trace-1.8.0.tgz
1.7.3 2025-03-17 datadog_trace-1.7.3.tgz
1.7.2 2025-03-07 datadog_trace-1.7.2.tgz
1.7.1 2025-02-26 datadog_trace-1.7.1.tgz
1.7.0 2025-02-21 datadog_trace-1.7.0.tgz
Show all releases

Changelog

Version Message
1.8.0 ## All products
### Added
- Add support for file based configuration (library-config) #3068

## Tracer
### Added
- Add DDTrace\try_drop_span() API #3136
- Add support for PDO::connect #3125
- Add span creation and close handlers #3123
- API Gateway Tracing #3116
- Add a Ratchet integration #3115
- Baggage Header Propagation Support #3102
- Crashtracking for windows #3099

### Changed
- Enable 128 bit trace_id logging by default #3163
- Allow whitespace as separator in DD_TAGS #3162
- Implement Disable APM Tracing #3080

### Fixed
- Support both ENOTSUP and ENOSYS in shm_open fallback Datadog/libdatadog#969
- Handle flushing of multiple traces at once #3176

### Internal
- Show actual file and line for occurrence of exceptions as well #3172
- Support ZSTR_PARENT known_string #3106

## Profiling
### Added
- Add profiling and appsec to SSI #3063

### Fixed
- FrankenPHP idle phase #3169
- Add active span null check #3164
- Avoid some OOM panics and avoid long strings #3151
- Fix upscaling of I/O profiles #3146

### Internal
- Add 'tracing' features to capture time spent walking the stack #3094

## Application Security Management
### Added
- Implement API Security Sampling RFC #3117
- Add authenticated user tracking #3114
- Add profiling and appsec to SSI #3063

### Changed
- Upgrade libddwaf #3126

### Fixed
- Emit asm event on user events #3170

### Internal
- Add more logging around stack generation #3096
1.7.3 ## Tracer
### Fixed
- Avoid using db.statement in favor of sql.query
1.7.2 ## Tracer
### Fixed
- Fallback to writing shared memory files to /tmp, if shm_open returns ENOTSUP Datadog/libdatadog#910

## Profiling
### Fixed
- I/O upscaling and allocation to the right sample type #3118
- fix `DD_TAGS` support #3121
1.7.1 ## Tracer
### Fixed
- Handle EINTR in blocking ipc sender Datadog/libdatadog#900

## Profiling
### Fixed
- fork() call handling before rinit #3104

## Application Security Management
### Fixed
- Fix unhandled dd_network; fix log message; fix handling of helper errors #3107
1.7.0 ## Tracer
### Added
- OTel Integration tracking #3084
- Send integration error logs through telemetry #3006

### Fixed
- Fix fork handling of sidecar #3077
- Work around preloaded enums being broken on early PHP 8.4 versions with observers #3093
- Missing Predis Service Override #3098
- Lazily init cadence client Datadog/libdatadog#890
- This will work around unnecessarily many sidecar threads being created.
- Fix possible race confition when adding, then removing remote config services Datadog/libdatadog#882
- This aims to solve watchdog timeouts of the sidecar (a cause of broken pipes).
- Handle a zero-sized file for mmap()ing Datadog/libdatadog#838

### Internal
- Generate Markdown Table of Supported Versions #3062
- Ensuring latest version of composer package are tested #3041
- Fix UserAvailableConstantsTest::testAllTypesAreTested #3042

## Profiling
### Added
- I/O profiling preview #3083
- support new ZendMM api #2969

### Changed
- switch to pthread_atfork() for fork barrier handling #3058

## Application Security Management
### Added
- Add rasp telemetry #3061
- Implement SSRF #3014

### Changed
- Update user login and signup events collection #2976

### Fixed
- Fix build of appsec helper with llvm's linker #3069
- Amend login failure event being reported #3092
Show complete changelog