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.0beta7 change log


opentelemetry 1.0.0beta7
* adding more tests (#82)
* disabling expanding args for internal functions (#84)
* check for invalid hook function signatures (#79)
* adding checks for conflicting extensions (#83)
* adding notes and minor code improvements for issue 68 (#75)
* fixing crash + docs (#76)
* fixing clang-format install (#78)
* adding valgrind (#73)
* fixing segfault when returning params from pre callback (#72)
* adding failing tests for pre-hook params (#71)
* moving docs back to root (#70)
* add failing test for expand params with post callback (#69)
* moving extension to subdirectory (#65)

Maintainer

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

Details

Categories

Stars: 59
Issue openned: 1
Downloads: 119882
1.0.0beta7
04/09/2023 23:38

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.