open-telemetry/opentelemetry-auto-doctrine

OpenTelemetry auto-instrumentation for Doctrine

Maintainers

Package info

github.com/opentelemetry-php/contrib-auto-doctrine

Homepage

pkg:composer/open-telemetry/opentelemetry-auto-doctrine

Statistics

Installs: 274 154

Dependents: 1

Suggesters: 0

Stars: 0

0.3.1 2025-07-05 05:16 UTC

This package is auto-updated.

Last update: 2026-03-11 13:19:21 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