PHPackages                             okwind/tempo-telemetry-bundle - 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. okwind/tempo-telemetry-bundle

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

okwind/tempo-telemetry-bundle
=============================

Tempo Telemetry Symfony Bundle

2.0.0(11mo ago)01.5k↓33.3%PHPPHP ^8.0

Since Jul 9Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/ci-okwind/tempo-telemetry-bundle)[ Packagist](https://packagist.org/packages/okwind/tempo-telemetry-bundle)[ RSS](/packages/okwind-tempo-telemetry-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

Bundle for Tempo Telemetry
==========================

[](#bundle-for-tempo-telemetry)

This bundle provides SQL query tracing for Doctrine DBAL 4.0+ using the middleware approach. It sends trace data to a Tempo instance for monitoring and analysis.

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

[](#installation)

Install the bundle via Composer:

```
composer require okwind/tempo-telemetry-bundle
```

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

[](#configuration)

### 1. Register the bundle in your application

[](#1-register-the-bundle-in-your-application)

For Symfony applications, add the bundle to your `config/bundles.php`:

```
return [
    // ...
    Okwind\TempoTelemetryBundle\TempoTelemetryBundle::class => ['all' => true],
];
```

### 2. Create a configuration file

[](#2-create-a-configuration-file)

Create a file at `config/packages/tempo_telemetry.yaml` with the following content:

```
tempo_telemetry:
    timeout: 1 # default value is 3
    service_name: 'my-service'
    tempo_url: 'http://yourtempo'
```

Parameters:

- `timeout`: Connection timeout in seconds (default: 3)
- `service_name`: Name of your service (required)
- `tempo_url`: URL of your Tempo instance (required)

### 3. Register the SQLTracingMiddleware with Doctrine DBAL

[](#3-register-the-sqltracingmiddleware-with-doctrine-dbal)

Add the following to your services configuration (e.g., `config/services.yaml`):

```
services:
    # ...

    # For all environments
    Okwind\TempoTelemetryBundle\Telemetry\Tempo:
        public: true
        arguments:
            - '@logger'
            - '%Okwind.tempo_telemetry.service_name%'
            - '%Okwind.tempo_telemetry.tempo_url%'
            - '%Okwind.tempo_telemetry.timeout%'

    # Only in production environment (recommended)
    when@prod:
        services:
            # Register the middleware with Doctrine DBAL
            doctrine.dbal.middleware.sql_tracing:
                class: Okwind\TempoTelemetryBundle\Telemetry\SQLTracingMiddleware
                arguments:
                    - '@Okwind\TempoTelemetryBundle\Telemetry\Tempo'
                tags:
                    - { name: doctrine.middleware }
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance52

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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.

###  Release Activity

Cadence

Every ~169 days

Total

3

Last Release

333d ago

Major Versions

1.0.1 → 2.0.02025-06-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150449548?v=4)[ci-okwind](/maintainers/ci-okwind)[@ci-okwind](https://github.com/ci-okwind)

---

Top Contributors

[![thomasbeaujean](https://avatars.githubusercontent.com/u/5817919?v=4)](https://github.com/thomasbeaujean "thomasbeaujean (8 commits)")[![lerminou](https://avatars.githubusercontent.com/u/3818051?v=4)](https://github.com/lerminou "lerminou (2 commits)")[![arnaudgoulpeau](https://avatars.githubusercontent.com/u/14837692?v=4)](https://github.com/arnaudgoulpeau "arnaudgoulpeau (1 commits)")[![epitre](https://avatars.githubusercontent.com/u/1972431?v=4)](https://github.com/epitre "epitre (1 commits)")

---

Tags

phpbundletempo

### Embed Badge

![Health badge](/badges/okwind-tempo-telemetry-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/okwind-tempo-telemetry-bundle/health.svg)](https://phpackages.com/packages/okwind-tempo-telemetry-bundle)
```

###  Alternatives

[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[inspector-apm/inspector-symfony

Code Execution Monitoring for Symfony applications.

2830.1k2](/packages/inspector-apm-inspector-symfony)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

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