Package Data | |
---|---|
Maintainer Username: | exolnet |
Maintainer Contact: | adeschambeault@exolnet.com (Alexandre D'Eschambeault) |
Package Create Date: | 2016-03-21 |
Package Last Update: | 2025-01-09 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-25 15:25:03 |
Package Statistics | |
---|---|
Total Downloads: | 700 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 6 |
Total Forks: | 1 |
Total Open Issues: | 0 |
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:
Require this package with composer:
composer require eXolnet/laravel-instruments
After updating composer, add the ServiceProvider to the providers array in config/app.php
:
Exolnet\Instruments\InstrumentsServiceProvider::class
Configure the library through your .env
file:
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
Please see CONTRIBUTING and CODE OF CONDUCT for details.
If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.
This code is licensed under the MIT license. Please see the license file for more information.