This library supports Span traces of Symfony HttpKernel requests.
-
Install via composer
composer require pccomponentes/apm-symfony-http-client
In all cases, an already created instance of ElasticApmTracer is assumed.
amp.http_client:
class: PcComponentes\RuleStorm\Infrastructure\TraceableApmHttpClient
arguments:
$client: '@http_client'
$elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.
Licensed under the MIT license
Read LICENSE for more information