Name : perl-Etsy-StatsD
| |
Version : 1.002002
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 2.62
| Date : 2024-08-05 18:30:41
|
Group : Development/Libraries/Perl
| Source RPM : perl-Etsy-StatsD-1.002002-2.62.src.rpm
|
Size : 0.02 MB
| |
Packager : (none)
| |
Summary : Object-Oriented Client for Etsy\'s StatsD Server
|
Description :
* new (HOST, PORT, SAMPLE_RATE)
Create a new instance.
* HOST
If the argument is a string, it must be a hostname or IP only. The default is \'localhost\'. The argument may also be an array reference of strings in the form of \"< host>\", \"< host>:< port>\", or \"< host>:< port>:< proto>\". If the port is not specified, the default port specified by the PORT argument will be used. If the protocol is not specified, or is not \"tcp\" or \"udp\", \"udp\" will be set. The only way to change the protocol, is to specify the host, port and protocol.
* PORT
Default is 8125. Will be used as the default port for any HOST argument not explicitly defining port.
* SAMPLE_RATE
Default is undefined, or no sampling performed. Specify a rate as a decimal between 0 and 1 to enable sampling. e.g. 0.5 for 50%.
* timing(STAT, TIME, SAMPLE_RATE)
Log timing information
* increment(STATS, SAMPLE_RATE)
Increment one of more stats counters.
* decrement(STATS, SAMPLE_RATE)
Decrement one of more stats counters.
* update(STATS, DELTA, SAMPLE_RATE)
Update one of more stats counters by arbitrary amounts.
* send(DATA, SAMPLE_RATE)
Sending logging data; implicitly called by most of the other methods.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-E/openSUSE_Tumbleweed/noarch |