pccomponentes/apm-symfony-http-client

Elastic APM for Symfony HttpClient

Installs: 315

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 1

Open Issues: 0

pkg:composer/pccomponentes/apm-symfony-http-client

0.1.0 2020-06-26 11:48 UTC

This package is auto-updated.

Last update: 2025-09-27 00:01:48 UTC


README

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