cyberclick-os / apm-symfony-http-kernel
Elastic APM for Symfony HttpKernel
Installs: 4 311
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 3
pkg:composer/cyberclick-os/apm-symfony-http-kernel
Requires
- php: ^8.0
- cyberclick-os/elastic-apm-agent-php: ^0.1|^1.0
- symfony/http-kernel: ^5.0|^6.0|^7.0
- symfony/routing: ^5.0|^6.0|^7.0
Requires (Dev)
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