Download the PHP package halloverden/symfony-application-insights-bundle without Composer
On this page you can find all versions of the php package halloverden/symfony-application-insights-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download halloverden/symfony-application-insights-bundle
More information about halloverden/symfony-application-insights-bundle
Files in halloverden/symfony-application-insights-bundle
Package symfony-application-insights-bundle
Short Description Enables Azure Application Insights monitoring
License MIT
Informations about the package symfony-application-insights-bundle
Application Insights Bundle
The Application Insights Bundle provides tools to register exceptions occurred in your Symfony application to Microsoft's Azure Application Insights. It makes use of the Azure Application Insights package originally developed by Microsoft.
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Usage
You have to register these values in your .env file:
When both TRACKING_ENABLED
and EXCEPTION_TRACKING_ENABLED
are set to true, the Exception Subscriber provided by the bundle will listen for exceptions (ignoring those provided in the EXCEPTION_TRACKING_IGNORE
parameter) and register them in a Telemetry Queue. The Terminate Subscriber will wait for the operation to be finished to then flush the queue and send the exceptions to Azure Application Insights.
No additional code is required.
As of now, the bundle only supports exception tracking.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
All versions of symfony-application-insights-bundle with dependencies
symfony/http-kernel Version ^4.4.7|^5.0.7
symfony/dependency-injection Version ^4.4.7|^5.0.7
symfony/config Version ^4.4.7|^5.0.7
ext-json Version *
halloverden/azure-application-insights Version ^0.1.0