NAME
DataDog::DogStatsd::Helper - shortcut/helper for DataDog::DogStatsd
SYNOPSIS
use DataDog::DogStatsd::Helper qw(stats_inc stats_dec stats_timing stats_gauge stats_count)
stats_inc('logins'); # shortcut for DataDog::DogStatsd->new->increment('logins')
stats_dec('logins'); # shortcut for DataDog::DogStatsd->new->decrement('logins')
stats_timing('test.timing', 1); # ->timing
stats_gauge('test.gauge', 10); # ->gauge
stats_count('test.count', 20); # ->count
DESCRIPTION
DataDog::DogStatsd::Helper is a helper for DataDog::DogStatsd, it will reuse the instance of DataDog::DogStatsd for all calls.
AUTHOR
Fayland Lam <fayland@binary.com>
COPYRIGHT
Copyright 2015- Fayland Lam
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.