项目作者: DivLooper

项目描述 :
Elastic APM Client for Symfony
高级语言: PHP
项目地址: git://github.com/DivLooper/ElasticAPMBundle.git
创建时间: 2019-02-08T08:32:53Z
项目社区:https://github.com/DivLooper/ElasticAPMBundle

开源协议:MIT License

下载


Elastic APM Symfony Bundle

Installation

Step 1: Download DivLooperElasticAPMBundle using composer

Require the bundle with composer:

  1. $ composer require divlooper/elastic-apm-bundle

Step 2: Enable the bundle

Enable the bundle in the bundles.php config file:

  1. <?php
  2. // config/bundle.php
  3. return [
  4. // ...
  5. DivLooper\ElasticAPMBundle\DivLooperElasticAPMBundle::class => ['all' => true],
  6. // ...
  7. ];

Step 3: Configure DivLooperElasticAPMBundle

Add the following configuration to config/packages/div_looper_elastic_apm.yaml file.

  1. div_looper_elastic_apm:
  2. app_name: 'My Symfony Project'
  3. app_version: '1.0'
  4. elastic_apm_server: 'http://127.0.0.1:8200'
  5. secret_token: 'x0x0x0x0x0x'