pccomponentes / apm-symfony-console
Elastic APM for Symfony Console
Installs: 12 284
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 2
Open Issues: 0
Requires
- php: ^7.4 | ^8.0
- symfony/console: ^4.4|^5.0
- symfony/event-dispatcher: ^4.4|^5.0
- zoilomora/elastic-apm-agent-php: ^1.0
Requires (Dev)
README
This library supports Span traces of Symfony Console commands.
Installation
-
Install via composer
composer require pccomponentes/apm-symfony-console
Usage
In all cases, an already created instance of ElasticApmTracer is assumed.
Service Container (Symfony)
PcComponentes\ElasticAPM\Symfony\Component\Console\EventSubscriber: class: PcComponentes\ElasticAPM\Symfony\Component\Console\EventSubscriber autoconfigure: true arguments: $elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.
License
Licensed under the MIT license
Read LICENSE for more information