ElasticApmBundle
                                
                                
                                
                                    ElasticApmBundle copied to clipboard
                            
                            
                            
                        ElasticApmBundle is a symfony bundle that allows you to track your symfony application's performance by sending transactions and metrics to elastic apm server instance.
ElasticApmBundle
ElasticApmBundle is a symfony bundle that allows you to track your symfony application's performance by sending transactions and metrics to elastic apm server instance.
Installation
$ composer require spacespell/elastic-apm-bundle
- 
If you are using Symfony Flex then after composer install the bundle will be enabled automatically in your
config/bundles.php, otherwise you should manually enable this bundle. - 
Create configuration file
elastic_apm.yamlin yourconfig/packages/. 
elastic_apm:
    enabled: true
    agent:
        appName: '' # Name of this application, Required
        serverUrl: 'http://127.0.0.1:8200' # APM Server Endpoint, Default: 'http://127.0.0.1:8200'
        secretToken: null # Secret token for APM Server, Default: null
        environment: 'development' # Environment, Default: 'development'
Customization
Transaction tracking blacklist and whitelist
Exception tracking blacklist and whitelist
Transaction name
Shared context
User context
Configuration Reference
elastic_apm:
    enabled: true
    agent:
        appName: '' # Name of this application, Required
        serverUrl: 'http://127.0.0.1:8200' # APM Server Endpoint, Default: 'http://127.0.0.1:8200'
        secretToken: null # Secret token for APM Server, Default: null
        environment: '' # Environment, Default: 'development'
    transactions:
        include:
            # - App\Controller\API\OAuthController::tokenAction
            # - App\Controller\Backend\DashboardController::*
        exclude:
            # - web_profiler.controller.profiler::toolbarAction
            # - web_profiler.controller.profiler::panelAction
            # - App\Controller\Backend\UserController::loginAction
            # - App\Controller\Backend\ReportController::*
    exceptions:
        include:
        exclude:
            # - Symfony\Component\Security\Core\Exception\AccessDeniedException
License
The Apache-2.0 License. Please see License File for more information.