open-telemetry / opentelemetry-auto-psr15
适用于 PSR-15(HTTP 服务器请求处理器)的 OpenTelemetry 自动探测。
1.0.6
2024-06-25 01:39 UTC
Requires
- php: ^8.0
- ext-opentelemetry: *
- open-telemetry/api: ^1.0
- open-telemetry/sem-conv: ^1.24
- psr/http-server-middleware: ^1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- nyholm/psr7: *
- open-telemetry/sdk: ^1.0
- phan/phan: ^5.0
- php-http/mock-client: *
- phpstan/phpstan: ^1.1
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- psalm/plugin-phpunit: ^0.18.4
- vimeo/psalm: ^5.0
This package is auto-updated.
Last update: 2024-08-29 06:38:00 UTC
README
这是从 https://github.com/open-telemetry/opentelemetry-php-contrib 分割出来的只读子树。
OpenTelemetry PSR-15 自动探测
请阅读 https://opentelemetry.io/docs/instrumentation/php/automatic/ 了解如何安装和配置扩展和 SDK。
概述
通过 composer 注册自动探测钩子,对于每个执行的 PSR-15 中间件,将自动创建跨度。
配置
可以通过 运行时配置 禁用此扩展。
OTEL_PHP_DISABLED_INSTRUMENTATIONS=psr15