r3h6 / opentelemetry-auto-doctrine-dbal
OpenTelemetry auto-instrumentation for Doctrine DBAL.
Installs: 89
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/r3h6/opentelemetry-auto-doctrine-dbal
Requires
- php: >=8.1 <8.5
- ext-opentelemetry: *
- doctrine/dbal: ^3.0 || ^4.0
- open-telemetry/api: ^1.0
- open-telemetry/sem-conv: ^1.24
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.68
- nyholm/psr7: ^1.8
- open-telemetry/sdk: ^1.2
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- symfony/http-client: *
README
Please read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to install and configure the extension and SDK.
Overview
Auto-instrumentation hooks are registered via composer, and spans will automatically be created for
selected Doctrine\DBAL\Connection
and Doctrine\DBAL\Result
methods.
Configuration
The extension can be disabled via runtime configuration:
OTEL_PHP_DISABLED_INSTRUMENTATIONS=doctrine-dbal