-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Amend bundle kernel listener example
The example only hooked into the TerminateEvent so the constructor only got called late in the request lifecycle (this happened with symfony/symfony 5.3). By explicitly hooking in to the RequestEvent and calling startSpan there, the span covers all other spans created during the request.
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters