datadog_trace

pecl install datadog_trace

APM and distributed tracing for PHP

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

Maintainer

  • Anil Mahtani Mirchandani (lead )
  • Levi Morrison (lead )
  • Luca Abbati (lead )
  • Bob Weinand (lead )
  • Joe Watkins (lead )
  • Pierre Bonet (lead )
  • Alejandro Estringana Ruiz (lead )
  • Sammy Kaye Powers (lead ) [inactive]
  • Florian Engelhardt (lead )
  • Luc Vieillescazes (lead )

Details

Stars: 369
Issue openned: 89
Downloads: 240509
1.3.0
17 days ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 1.3.0 change log


## Tracer

The default value for datadog.log_backtrace is now set to true, meaning that on compatible systems, a segmentation fault will cause the process's backtrace to be printed in the log.

### Added
- Add SpanEvents support for DD and OTEL #2754
- Symfony Messenger Integration #2749
- Add crashtracker #2763

### Changed
- Updates the expected telemetry tags for OTel env-var mapping in line with the latest RFC #2775

### Fixed
- Multiple Workers in SWOOLE_BASE mode #2778
- Fix ini creation when `--extension-dir` is used #2789
- Fix fatal error when reading uninit $meta on a span #2790
- Fix JIT crash with instrumented generators #2797
- Handle absolute paths in extension_dir containing forward slashes #2798
- Fix setup with spaces in path to php binary #2803
- Fix #2774: shared hooks removal caused xdebug end handler to be skipped #2780
- Fix error message for not loaded/not available #2810
- Implement fallback for when memfd is not available on Linux Datadog/libdatadog#591
- Use the Windows User ID as sidecar identifier instead of the Session ID Datadog/libdatadog#558
- Fix error check in trampoline.c Datadog/libdatadog#569
- Do not implicitly fall back to spl_autoload() if no autoloader is registered on PHP 7 #2822
- Prevent crash in shutdown if hook was not stored #2824

### Internal
- Send x-datadog-test-session-token metric and send metrics to request-replayer #2802
- Only warn on missing `json` extension #2805
- Fix compilation after alpine container upgrade #2811
- Telemetry v2 schema for app-started payload requires 'configuration' Datadog/libdatadog#543

## Profiling

### Added
- Add timestamp to exception sample #2793

### Internal
- Perf: remove profiler mutex #2714

## Application Security Management

### Added
- Automated user ID collection modes #2782
- Report backtraces #2715

### Changed
- Support loading appsec helper in sidecar Datadog/libdatadog#565

### Fixed
- Refactor the sampler to fix errors #2761

requires:

  • php >=7.0<=8.3.99
  • pearinstaller >=1.4.0
  • json