This library supports Span traces of Symfony Console commands.
-
Install via composer
composer require pccomponentes/apm-symfony-console
In all cases, an already created instance of ElasticApmTracer is assumed.
PcComponentes\ElasticAPM\Symfony\Component\Console\EventSubscriber:
class: PcComponentes\ElasticAPM\Symfony\Component\Console\EventSubscriber
autoconfigure: true
arguments:
$elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.
Licensed under the MIT license
Read LICENSE for more information