opentelemetry

pecl install opentelemetry

OpenTelemetry auto-instrumentation support extension

https://github.com/open-telemetry/opentelemetry-php-instrumentation

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.1beta1 change log


opentelemetry 1.0.1beta1
* Fix modifying extra parameters, limit parameter expansion (#120)
* Fix crash by unregistering INI in MSHUTDOWN instead of RSHUTDOWN (#122)
* Support modifying named params (#121)
* adding test for post hook type error (#119)
* Isolate exception state for hooks (#118)
* Update README.md to point issues to the main repository (#117)
* Include PHP 8.3 in build matrix (#112)
* Build images whenever the actions definition changes (#115)
* adding php 8.3 dev image (#113)
* document SourceGuardian incompatibility (#111)
* create draft release on tag, publish windows and pecl builds (#109)
* adding test for post hooks after die/exit (#110)
* add pear to build (#108)

Maintainer

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

Details

Categories

Stars: 59
Issue openned: 1
Downloads: 119882
1.0.1beta1
25/01/2024 04:03

requires:

  • 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.