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
0.10.0
5 years 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 0.10.0 change log


**WARNING: THIS IS A BREAKING CHANGE RELEASE**

Refer to the migration guide (/UPGRADE-0.10.md) for a detailed description.

At an high level here are the breaking changes we introduced:

- We removed OpenTracing as a required dependency. We still support OpenTracing, so you can do `OpenTracing\GlobalTracer::get()` in your code and still retrieve a OpenTracing compliant tracer, but OpenTracing dependency is now optional.
- We introduced auto-instrumentation and 1-step installation in place of manual registration of providers/bundles. Before, in order to see traces, you had to install our extension, add two dependencies to the composer file and add a provider (Laravel) or a bundle (Symfony). Starting from now you will only have to install the extension. You still have freedom to manually instrument the code, but only for advanced usage.

### Added
- Request init hook configuration allowing running arbitrary code before actual request execution #175
- Support OpenTracing without depending on it #193
- Initial C extension PHP 5.4 support #205
- Removal of external dependencies to support auto-instrumentation #206
- Migration from namespace based constants to class based constants for tags, formats and types #207
- Track integration loading to avoid re-loading unnecessary ones #211
- Documenting release steps #223
- Ability to run web framework tests in external web server #232
- Support for auto-instrumentation #237
- Support for Zend Framework 1 #238
- `Tracer::startRootSpan()` to track the root `Scope` instance which can be accessed with `Tracer::getRootScope()` #241

### Fixed
- The INI settings now appear in `phpinfo()` and when running `$ php -i` #242

requires:

  • php >=5.6<=7.2.99
  • pearinstaller >=1.4.0
  • json