pecl install opentelemetry

OpenTelemetry auto-instrumentation support extension

This is a PHP extension for OpenTelemetry, to enable auto-instrumentation. It is based on zend_observer and requires php8+

The extension allows creating 'pre' and 'post' hook functions to arbitrary PHP functions and methods, which allows those methods to be wrapped with telemetry.

In PHP 8.2+, internal/built-in PHP functions can also be observed.

Version 1.0.3 change log



  • Brett McBride (lead )
  • Przemek Delewski (lead )



Stars: 59
Issue openned: 1
Downloads: 119882
2 months ago


  • php >=8.0.0
  • pearinstaller >=1.4.0
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.