Documentation
¶
Overview ¶
stats is a very lightweight wrapper around the dogstatsd client, which gives us a package-level function
Index ¶
- func Client() statsd.ClientInterface
- func Configure(namespace string, host string, port int, tags map[string]string) error
- func DistributionMs(name string, tags []string, value time.Duration)
- func IncrSuccessOrFail(err error, prefix string, tags []string)
- func WithTiming(name string, tags []string, f func()) time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client() statsd.ClientInterface
func DistributionMs ¶ added in v0.2.2
func IncrSuccessOrFail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.