divlooper/elastic-apm-bundle

Elastic APM Client for Symfony

Installs: 554

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 6

Open Issues: 1

Type:symfony-bundle

v0.1 2019-02-08 17:06 UTC

This package is not auto-updated.

Last update: 2024-11-10 21:18:32 UTC


README

Installation

Step 1: Download DivLooperElasticAPMBundle using composer

Require the bundle with composer:

$ composer require divlooper/elastic-apm-bundle

Step 2: Enable the bundle

Enable the bundle in the bundles.php config file:

<?php
// config/bundle.php

return [
    // ...
    DivLooper\ElasticAPMBundle\DivLooperElasticAPMBundle::class => ['all' => true],
    // ...
];

Step 3: Configure DivLooperElasticAPMBundle

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

div_looper_elastic_apm:
    app_name: 'My Symfony Project'
    app_version: '1.0'
    elastic_apm_server: 'http://127.0.0.1:8200'
    secret_token: 'x0x0x0x0x0x'