This bundle helps you to monitor your application.
It uses statsd-php-client as Client for the etsy/Statsd API.
It Includes
- a Service, a Factory and an Entity callable by the DIC
- a Monolog Handler
- a series of Collectors in order to aggregate your personal data.
- Installation and Usage
- Advanced usage
- Article : Install Stats.d / Graphite on a debian server in order to monitor a Symfony2 application (1/2)
- Article : Monitor your Symfony2 application via Stats.d and Graphite (2/2)
Monitoring what is happening in your production Symfony2 application, with StatsD and Graphite.
Within this bundle you could use ready-to-go monitor for
-
Monolog (this is a new feature)
-
Amount of user (collector)
-
Logged vs Anonymous user (collector)
-
SQL: Verbs used (amount of select/set/update/upgrade/delete) (this feature is not suggested, please use a server monitor tool eg. nagios, munin)
-
Amount of PHP ram used (collector)
In order to try this application monitor you have to install etsy/statsd and Graphite
see this blog post to install it with vagrant Easy install statsd graphite.
StatsD is a simple daemon for easy stats aggregation
Graphite is a Scalable Realtime Graphing
https://www.google.com/search?q=tcp+vs+udp
Active contribution and patches are very welcome. To keep things in shape we have quite a bunch of unit tests. If you're submitting pull requests please make sure that they are still passing and if you add functionality please take a look at the coverage as well it should be pretty high :)
- First fork or clone the repository
git clone git://github.com/liuggio/StatsDClientBundle.git
cd StatsDClientBundle
- Install vendors:
php composer.phar install --dev
- This will give you proper results:
phpunit --coverage-html reports
https://github.com/liuggio/StatsDClientBundle/graphs/contributors