项目作者: PcComponentes

项目描述 :
Elastic APM for Symfony HttpKernel
高级语言: PHP
项目地址: git://github.com/PcComponentes/apm-symfony-http-kernel.git
创建时间: 2020-05-28T06:44:37Z
项目社区:https://github.com/PcComponentes/apm-symfony-http-kernel

开源协议:MIT License

下载


Elastic APM for Symfony HttpKernel

This library supports Span traces of Symfony HttpKernel requests.

Installation

1) Install via composer

  1. ```shell script
  2. composer require pccomponentes/apm-symfony-http-kernel
  3. ```

Usage

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

Service Container (Symfony)

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

License

Licensed under the MIT license

Read LICENSE for more information