Module to track Laravel metrics with Statsd.
This project aim to easily add metric tracking to your Laravel 5 applications. Three drivers are currently supported: StatsD, Log and Null. The following metrics are currently tracked:
- Browser timing (first byte, ready and load)
- SQL Queries
Require this package with composer:
composer require eXolnet/laravel-instruments
After updating composer, add the ServiceProvider to the providers array in
Configure the library through your
INSTRUMENTS_DRIVER=statsd STATSD_HOST=127.0.0.1 STATSD_PORT=8125
Or publish the package configuration with the following command:
$ php artisan vendor:publish --provider="Exolnet\Instruments\InstrumentsServiceProvider"
To run the phpUnit tests, please use:
$ composer test
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.