PHPackages                             tbachert/otel-instrumentation-doctrine-dbal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. tbachert/otel-instrumentation-doctrine-dbal

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

tbachert/otel-instrumentation-doctrine-dbal
===========================================

OpenTelemetry doctrine/dbal instrumentation

024PHP

Since Feb 17Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Nevay/otel-instrumentation-doctrine-dbal)[ Packagist](https://packagist.org/packages/tbachert/otel-instrumentation-doctrine-dbal)[ RSS](/packages/tbachert-otel-instrumentation-doctrine-dbal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

OpenTelemetry [doctrine/dbal](https://github.com/doctrine/dbal) instrumentation
===============================================================================

[](#opentelemetry-doctrinedbal-instrumentation)

Installation
------------

[](#installation)

```
composer require tbachert/otel-instrumentation-doctrine-dbal
```

Usage
-----

[](#usage)

### Automatic instrumentation

[](#automatic-instrumentation)

This instrumentation is enabled by default.

#### Disable via file-based configuration

[](#disable-via-file-based-configuration)

```
instrumentations/development:
  php:
    doctrine_dbal: false
```

#### Disable via env-based configuration

[](#disable-via-env-based-configuration)

```
OTEL_PHP_DISABLED_INSTRUMENTATIONS=doctrine-dbal
```

### Manual registration

[](#manual-registration)

```
use Doctrine\DBAL\Configuration;
use Doctrine\DBAL\DriverManager;
use Nevay\OTelInstrumentation\DoctrineDbal\TracingMiddleware;

$config = new Configuration();
$config->setMiddlewares([
    new TracingMiddleware($tracerProvider),
]);
$connection = DriverManager::getConnection($params, $config);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance56

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d96445384720ee37aa71d5ddd7b5a5d159558200b15b8a1b14e65e6095f2a7a?d=identicon)[tbachert](/maintainers/tbachert)

---

Top Contributors

[![Nevay](https://avatars.githubusercontent.com/u/22509671?v=4)](https://github.com/Nevay "Nevay (28 commits)")

### Embed Badge

![Health badge](/badges/tbachert-otel-instrumentation-doctrine-dbal/health.svg)

```
[![Health](https://phpackages.com/badges/tbachert-otel-instrumentation-doctrine-dbal/health.svg)](https://phpackages.com/packages/tbachert-otel-instrumentation-doctrine-dbal)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
