pccomponentes / apm-symfony-http-kernel
Elastic APM for Symfony HttpKernel
Package info
github.com/PcComponentes/apm-symfony-http-kernel
pkg:composer/pccomponentes/apm-symfony-http-kernel
0.1.7
2021-05-14 10:08 UTC
Requires
- php: ^7.4 | ^8.0
- symfony/http-kernel: ^4.4|^5.0
- symfony/routing: ^4.4|^5.0
- zoilomora/elastic-apm-agent-php: ^1.0
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-14 20:52:13 UTC
README
This library supports Span traces of Symfony HttpKernel requests.
Installation
-
Install via composer
composer require pccomponentes/apm-symfony-http-kernel
Usage
In all cases, an already created instance of ElasticApmTracer is assumed.
Service Container (Symfony)
PcComponentes\ElasticAPM\Symfony\Component\HttpKernel\EventSubscriber: class: PcComponentes\ElasticAPM\Symfony\Component\HttpKernel\EventSubscriber autoconfigure: true arguments: $router: '@router' $elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.
License
Licensed under the MIT license
Read LICENSE for more information