Download the PHP package liuggio/statsd-php-client without Composer
On this page you can find all versions of the php package liuggio/statsd-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download liuggio/statsd-php-client
More information about liuggio/statsd-php-client
Files in liuggio/statsd-php-client
Package statsd-php-client
Short Description Statsd (Object Oriented) client library for PHP
License MIT
Homepage https://github.com/liuggio/statsd-php-client/
Informations about the package statsd-php-client
statsd-php-client
statsd-php-client
is an Open Source, and Object Oriented Client for etsy/statsd written in php
Install with composer
Simple Usage
Why use this library instead the statsd/php-example?
-
You are wise.
-
You could also use monolog to redirect data to statsd
-
This library is tested.
-
This library optimizes the messages to send, compressing multiple messages in individual UDP packets.
-
This library pays attention to the maximum length of the UDP.
-
This library is made by Objects not array, but it also accepts array.
- You do want to debug the packets, and using
SysLogSender
the packets will be logged in yoursyslog
log (on debian-like distro:tail -f /var/log/syslog
)
Advanced Instantiation
Usage with Monolog
the output will be: prefix.my_logger.INFO.My-logger:1|c" 36 Bytes
Short Theory
Easily Install StatSD and Graphite
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
StatsD is a simple daemon for easy stats aggregation
Graphite
Graphite is a Scalable Realtime Graphing
The Client sends 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
-
Install vendors:
- This will give you proper results:
Core developers:
This project is actively maintained by David Moreau AKA @dav-m85 and @liuggio