pccomponentes / apm-symfony-http-client
Elastic APM for Symfony HttpClient
0.1.0
2020-06-26 11:48 UTC
Requires
- php: ^7.4
- symfony/http-client-contracts: ^2.1-dev
- zoilomora/elastic-apm-agent-php: ^0.1
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-26 21:49:50 UTC
README
This library supports Span traces of Symfony HttpKernel requests.
Installation
-
Install via composer
composer require pccomponentes/apm-symfony-http-client
Usage
In all cases, an already created instance of ElasticApmTracer is assumed.
Service Container (Symfony)
amp.http_client: class: PcComponentes\RuleStorm\Infrastructure\TraceableApmHttpClient arguments: $client: '@http_client' $elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.
License
Licensed under the MIT license
Read LICENSE for more information