Skip to content

PcComponentes/apm-symfony-http-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic APM for Symfony HttpClient

This library supports Span traces of Symfony HttpKernel requests.

Installation

  1. 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