open-telemetry/opentelemetry-auto-doctrine

OpenTelemetry auto-instrumentation for Doctrine

0.2.0 2025-04-14 07:18 UTC

This package is auto-updated.

Last update: 2025-04-16 00:35:25 UTC


README

Releases Issues Source Mirror Latest Version Stable

This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.

OpenTelemetry Doctrine auto-instrumentation

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\Driver and Doctrine\DBAL\Driver\Connection methods.

Configuration

The extension can be disabled via runtime configuration:

OTEL_PHP_DISABLED_INSTRUMENTATIONS=doctrine