PHPackages                             performance-x/opentelemetry-php-instrumentation-trait - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. performance-x/opentelemetry-php-instrumentation-trait

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

performance-x/opentelemetry-php-instrumentation-trait
=====================================================

A trait to simplify creating OpenTelemetry instrumentations for PHP classes and interfaces

v1.1.1(1y ago)081MITPHPPHP ^8.2CI passing

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/performance-x/opentelemery-php-instrumentation-trait)[ Packagist](https://packagist.org/packages/performance-x/opentelemetry-php-instrumentation-trait)[ RSS](/packages/performance-x-opentelemetry-php-instrumentation-trait/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (12)Used By (1)

OpenTelemetry PHP Instrumentation Trait
=======================================

[](#opentelemetry-php-instrumentation-trait)

A trait to simplify creating OpenTelemetry instrumentations for PHP classes, interfaces, and functions.

Installation
------------

[](#installation)

```
composer require performance-x/opentelemetry-php-instrumentation-trait
```

Usage
-----

[](#usage)

The trait is designed to be used in instrumentation classes that register OpenTelemetry hooks for specific targets.

```
