PHPackages                             open-telemetry/opentelemetry-auto-symfony - 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. open-telemetry/opentelemetry-auto-symfony

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

open-telemetry/opentelemetry-auto-symfony
=========================================

OpenTelemetry auto-instrumentation for Symfony

1.2.0(1mo ago)551.2M—8.5%71Apache-2.0PHPPHP ^8.1

Since Feb 27Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/opentelemetry-php/contrib-auto-symfony)[ Packagist](https://packagist.org/packages/open-telemetry/opentelemetry-auto-symfony)[ Docs](https://opentelemetry.io/docs/languages/php/)[ RSS](/packages/open-telemetry-opentelemetry-auto-symfony/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (30)Versions (32)Used By (1)

[![Releases](https://camo.githubusercontent.com/46e38a504120203bf7615645011bcf2bb834e03e8eb0bc8e0f4864c729fd5baf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c65617365732d707572706c65)](https://github.com/opentelemetry-php/contrib-auto-symfony/releases)[![Issues](https://camo.githubusercontent.com/b9b31135f113cdb6e2b662b4040276044ee0803567bc17688eaf4386f797ea50/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6973737565732d70696e6b)](https://github.com/open-telemetry/opentelemetry-php/issues)[![Source](https://camo.githubusercontent.com/e27dd1126a60abf1c26521d893d9f235ef342a76231c2428ddbc4651185bd626/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d636f6e747269622d677265656e)](https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Symfony)[![Mirror](https://camo.githubusercontent.com/2f9050293ab0c0d9471e618215bc7417a63b6873c960e1605bddb69b1911fa4c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6972726f722d6f70656e74656c656d657472792d2d7068702d2d636f6e747269622d626c7565)](https://github.com/opentelemetry-php/contrib-auto-symfony)[![Latest Version](https://camo.githubusercontent.com/987f4d5372a616635828be455c22a08df0d3491c9f2f18b05aec72d793319d75/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d74656c656d657472792f6f70656e74656c656d657472792d6175746f2d73796d666f6e792f762f756e737461626c65)](https://packagist.org/packages/open-telemetry/opentelemetry-auto-symfony/)[![Stable](https://camo.githubusercontent.com/90296ce70e6fea7cbd8cbd01f3f63927f1d8044bc44a9e938944e2cf69a8bf0e/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d74656c656d657472792f6f70656e74656c656d657472792d6175746f2d73796d666f6e792f762f737461626c65)](https://packagist.org/packages/open-telemetry/opentelemetry-auto-symfony/)

This is a read-only subtree split of .

OpenTelemetry Symfony auto-instrumentation
==========================================

[](#opentelemetry-symfony-auto-instrumentation)

This is an OpenTelemetry auto-instrumentation package for Symfony framework applications.

Please read  for instructions on how to install and configure the extension and SDK.

Requirements
------------

[](#requirements)

- [OpenTelemetry extension](https://opentelemetry.io/docs/instrumentation/php/automatic/#installation)
- OpenTelemetry SDK and exporters (required to actually export traces)

Overview
--------

[](#overview)

The following features are supported:

- root span creation (`Symfony\Component\HttpKernel\HttpKernel::handle` hook)
- context propagation
- HttpClient client span creation
- HTTPClient context propagation
- Message Bus span creation
- Message Transport span creation

Installation via composer
-------------------------

[](#installation-via-composer)

```
$ composer require open-telemetry/opentelemetry-auto-symfony
```

Installing dependencies and executing tests
-------------------------------------------

[](#installing-dependencies-and-executing-tests)

From Symfony subdirectory:

```
$ composer install
$ ./vendor/bin/phpunit tests
```

Configuration
-------------

[](#configuration)

The extension can be disabled via [runtime configuration](https://opentelemetry.io/docs/instrumentation/php/sdk/#configuration):

```
OTEL_PHP_DISABLED_INSTRUMENTATIONS=symfony
```

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity53

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor5

5 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~78 days

Total

31

Last Release

55d ago

Major Versions

0.0.1 → 1.0.0beta72023-03-29

PHP version history (2 changes)0.0.1PHP ^8.0

1.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4978962?v=4)[Brett McBride](/maintainers/brettmc)[@brettmc](https://github.com/brettmc)

![](https://avatars.githubusercontent.com/u/4099109?v=4)[Bob Strecansky](/maintainers/bobstrecansky)[@bobstrecansky](https://github.com/bobstrecansky)

---

Top Contributors

[![cedricziel](https://avatars.githubusercontent.com/u/418970?v=4)](https://github.com/cedricziel "cedricziel (7 commits)")[![brettmc](https://avatars.githubusercontent.com/u/4978962?v=4)](https://github.com/brettmc "brettmc (6 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (5 commits)")[![pdelewski](https://avatars.githubusercontent.com/u/102958445?v=4)](https://github.com/pdelewski "pdelewski (4 commits)")[![piotrantosik](https://avatars.githubusercontent.com/u/154553?v=4)](https://github.com/piotrantosik "piotrantosik (4 commits)")[![weslenteche](https://avatars.githubusercontent.com/u/54692047?v=4)](https://github.com/weslenteche "weslenteche (4 commits)")[![technimad-splunk](https://avatars.githubusercontent.com/u/122808896?v=4)](https://github.com/technimad-splunk "technimad-splunk (2 commits)")[![ChrisLightfootWild](https://avatars.githubusercontent.com/u/106102472?v=4)](https://github.com/ChrisLightfootWild "ChrisLightfootWild (2 commits)")[![jerrytfleung](https://avatars.githubusercontent.com/u/8791493?v=4)](https://github.com/jerrytfleung "jerrytfleung (1 commits)")[![julianocosta89](https://avatars.githubusercontent.com/u/15364991?v=4)](https://github.com/julianocosta89 "julianocosta89 (1 commits)")[![nesl247](https://avatars.githubusercontent.com/u/1037526?v=4)](https://github.com/nesl247 "nesl247 (1 commits)")[![agoallikmaa](https://avatars.githubusercontent.com/u/3532037?v=4)](https://github.com/agoallikmaa "agoallikmaa (1 commits)")[![pieterocp](https://avatars.githubusercontent.com/u/68863060?v=4)](https://github.com/pieterocp "pieterocp (1 commits)")[![bobstrecansky](https://avatars.githubusercontent.com/u/4099109?v=4)](https://github.com/bobstrecansky "bobstrecansky (1 commits)")[![dciprian-petrisor](https://avatars.githubusercontent.com/u/35119124?v=4)](https://github.com/dciprian-petrisor "dciprian-petrisor (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")[![RichardChukwu](https://avatars.githubusercontent.com/u/79311274?v=4)](https://github.com/RichardChukwu "RichardChukwu (1 commits)")[![siketyan](https://avatars.githubusercontent.com/u/12772118?v=4)](https://github.com/siketyan "siketyan (1 commits)")[![trigrab](https://avatars.githubusercontent.com/u/5140604?v=4)](https://github.com/trigrab "trigrab (1 commits)")[![caetanev](https://avatars.githubusercontent.com/u/2891572?v=4)](https://github.com/caetanev "caetanev (1 commits)")

---

Tags

symfonytracingopentelemetryotelinstrumentationopen-telemetry

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/open-telemetry-opentelemetry-auto-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/open-telemetry-opentelemetry-auto-symfony/health.svg)](https://phpackages.com/packages/open-telemetry-opentelemetry-auto-symfony)
```

###  Alternatives

[open-telemetry/opentelemetry-auto-pdo

OpenTelemetry auto-instrumentation for PDO

111.2M1](/packages/open-telemetry-opentelemetry-auto-pdo)[open-telemetry/opentelemetry-auto-wordpress

OpenTelemetry auto-instrumentation for Wordpress

17166.0k](/packages/open-telemetry-opentelemetry-auto-wordpress)[worldia/instrumentation-bundle

Symfony opentelemetry auto-instrumentation: requests, commands, messenger, doctrine.

2769.8k](/packages/worldia-instrumentation-bundle)

PHPackages © 2026

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