youlianfuwu / yii2-yltrace
Yii2 extension, used to trace metrics with OpenTelemetry
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.3.0
- guzzlehttp/guzzle: ^7.8
- guzzlehttp/promises: ^2.0
- open-telemetry/opentelemetry: 1.0.0
- php-http/httplug: ^2.4
- php-http/message-factory: ^1.1
- yiisoft/yii2: ~2.0.39
Requires (Dev)
- phpunit/phpunit: ^6.5
- yiisoft/yii2-dev: ~2.0.39
README
yii2-yltrace
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist youlianfuwu/yii2-yltrace "*"
or add
"youlianfuwu/yii2-yltrace": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \com\youlian\trace\AutoloadExample::widget(); ?>```