PHPackages                             digitalrevolution/symfony-trace-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. digitalrevolution/symfony-trace-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

digitalrevolution/symfony-trace-bundle
======================================

Add tracing to your Symfony application.

v1.1.0(5mo ago)877.8k—0.2%4[1 issues](https://github.com/123inkt/symfony-trace-bundle/issues)MITPHPPHP &gt;=8.1CI passing

Since Dec 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/123inkt/symfony-trace-bundle)[ Packagist](https://packagist.org/packages/digitalrevolution/symfony-trace-bundle)[ RSS](/packages/digitalrevolution-symfony-trace-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (32)Versions (16)Used By (0)

[![Minimum PHP Version](https://camo.githubusercontent.com/230588f62e4b3ba29858fcfcf1bbfe253f82c4180088091d6c7d4c6c06d80145/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d383839324246)](https://php.net/)[![Minimum Symfony Version](https://camo.githubusercontent.com/585d5ced420a434afbdf350efb9c87572824cb785b29d70044cca95dbf2f90c8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253345253344253230362e342d627269676874677265656e)](https://symfony.com/doc/current/validation.html)[![Run tests](https://github.com/123inkt/symfony-trace-bundle/actions/workflows/test.yml/badge.svg)](https://github.com/123inkt/symfony-trace-bundle/actions/workflows/test.yml/badge.svg)

Symfony Trace Bundle
====================

[](#symfony-trace-bundle)

*Based on [chrisguitarguy/RequestIdBundle](https://github.com/chrisguitarguy/RequestIdBundle)*

This adds trace ID's to your Symfony application. Why? It's a great way to add some additional information to logs and to present to users. The trace id will be available in:

- Monolog log messages
- Request -&gt; Response
- Console command
- Twig as extension
- HttpClient requests (by default only enabled for tagged clients)
- Messenger messages (by default enabled)
- Sentry reports (by default disabled)

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

[](#installation)

Use [Composer](https://getcomposer.org/).

```
composer require digitalrevolution/symfony-trace-bundle

```

Then enable the bundle in your `/config/bundles.php`:

```
# /config/bundles.php
