cyberclick-os/apm-symfony-http-kernel

Elastic APM for Symfony HttpKernel

Maintainers

Package info

github.com/cyberclick-os/apm-symfony-http-kernel

pkg:composer/cyberclick-os/apm-symfony-http-kernel

Statistics

Installs: 4 519

Dependents: 0

Suggesters: 0

Stars: 0

0.1.16 2023-12-12 15:26 UTC

README

This library supports Span traces of Symfony HttpKernel requests.

Installation

  1. Install via composer

    composer require pccomponentes/apm-symfony-http-kernel

Usage

In all cases, an already created instance of ElasticApmTracer is assumed.

Service Container (Symfony)

PcComponentes\ElasticAPM\Symfony\Component\HttpKernel\EventSubscriber:
  class: PcComponentes\ElasticAPM\Symfony\Component\HttpKernel\EventSubscriber
  autoconfigure: true
  arguments:
    $router: '@router'
    $elasticApmTracer: '@apm.tracer' # \ZoiloMora\ElasticAPM\ElasticApmTracer instance.

License

Licensed under the MIT license

Read LICENSE for more information