Download the PHP package graze/statsd-dd without Composer
On this page you can find all versions of the php package graze/statsd-dd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download graze/statsd-dd
More information about graze/statsd-dd
Files in graze/statsd-dd
Package statsd-dd
Short Description DataDog StatsD Client
License MIT
Homepage https://github.com/graze/dog-statsd
Informations about the package statsd-dd
graze/dog-statsd
Client to talk to DataDogs StatsD Agent Forked from: League/StatsD
For more information on the metric, see: Datadogs metrics guide.
Install
Via Composer
Usage
Configuring
OR
The StatsD client waits for ini_get('default_socket_timeout')
seconds when opening the socket by default. To reduce
this timeout, add 'timeout' => <int>
to your config.
The StatsD client will either throw a ConnectionException
, throw a warning or ignore all errors if it is unable to
send data to the StatsD server. This can be configured using the onError
property
By default this is set to 'error'
Core StatsD implementation
To use this with a core statsd implementation (without the extra features DataDog have added) include the following in your configuration:
Methods
Counters
Gauges
Sets
Histogram
Timers
Timing Blocks
Tags
Tags Processors
You can add tag processors to inject tags at runtime for each metric.
Events
Service Check
Default Tags
Send the same base tags with every request
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Harry Bragg
- All Contributors
Forked from thephpleague/statsd:
License
The MIT License (MIT). Please see License File for more information.