Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Easily monitor your symfony2 production env., with ready-to-use stats.
branch: master

This branch is 74 commits behind liuggio:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
DependencyInjection
Entity
Listener
Model
Monolog
Resources
Service
StatsCollector
Tests
.gitignore
.travis.yml
Exception.php
LiuggioStatsDClientBundle.php
Readme.md
composer.json
composer.lock
phpunit.xml.dist

Readme.md

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

StatD is a simple daemon for easy stats aggregation

Graphite

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
Something went wrong with that request. Please try again.