Skip to content

Latest commit

 

History

History
85 lines (45 loc) · 2.18 KB

Readme.md

File metadata and controls

85 lines (45 loc) · 2.18 KB

StaSD Client Bundle

Build Status

This bundle helps you to monitor your application.

It includes a Client for the etsy/Statsd API, a service, a Monolog Handler and a series of Collectors in order to aggregate your personal data.

Check out the documentation

Abstract

Monitoring what is happening in your production Symfony2 application, with StatD and Graphite.

Within this bundle you could use ready-to-go monitor for

  • Monolog (this is a new feature)

  • Amount of user

  • Logged vs Anonymous user

  • 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

Short Theory

Easily Install StatSD and Graphite

In order to try this application monitor you have to install etsy/statd and Graphite

see this blog post to install it with vagrant Easy install statsd graphite.

StatD is a simple daemon for easy stats aggregation

Graphite is a Scalable Realtime Graphing

The Client send data with UDP (faster)

https://www.google.com/search?q=tcp+vs+udp

Contribution

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:
composer.phar install
  • This will give you proper results:
phpunit --coverage-html reports