Download the PHP package graze/dog-statsd without Composer
On this page you can find all versions of the php package graze/dog-statsd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download graze/dog-statsd
More information about graze/dog-statsd
Files in graze/dog-statsd
Package dog-statsd
Short Description DataDog StatsD Client
License MIT
Homepage https://github.com/graze/dog-statsd
Informations about the package dog-statsd
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.