# Packages
No description provided by the author
# Functions
CheckName may be used to validate whether a stat name contains invalid characters.
DefaultSampler is the default rate sampler function.
NewBufferedClient returns a new BufferedClient
addr is a string of the format "hostname:port", and must be parsable by net.ResolveUDPAddr.
NewBufferedSender returns a new BufferedSender
addr is a string of the format "hostname:port", and must be parsable by net.ResolveUDPAddr.
NewBufferedSenderWithSender returns a new BufferedSender, wrapping the provided sender.
NewClient returns a pointer to a new Client, and an error.
NewClientWithConfig returns a new BufferedClient
config is a ClientConfig, which holds various configuration values.
NewClientWithSender returns a pointer to a new Client and an error.
NewResolvingSimpleSender returns a new ResolvingSimpleSender for sending to the supplied addresss.
NewSimpleSender returns a new SimpleSender for sending to the supplied addresss.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Dial is a compatibility alias for NewClient
Deprecated: This interface is "legacy", and it is recommented to migrate to using NewClientWithConfig in the future.
New is a compatibility alias for NewClient
Deprecated: This interface is "legacy", and it is recommented to migrate to using NewClientWithConfig in the future.
# Structs
BufferedSender provides a buffered statsd udp, sending multiple metrics, where possible.
A Client is a statsd client.
No description provided by the author
ResolvingSimpleSender provides a socket send interface that re-resolves and reconnects.
SimpleSender provides a socket send interface.
# Interfaces
The ExtendedStatSender interface wraps a StatSender and adds some methods that may be unsupported by some servers.
The Sender interface wraps a Send and Close.
The StatSender interface wraps all the statsd metric methods.
The Statter interface defines the behavior of a stat client.
The SubStatter interface defines the behavior of a stat child/subclient.
# Type aliases
The SamplerFunc type defines a function that can serve as a Client sampler function.
No description provided by the author
No description provided by the author
The ValidatorFunc type defines a function that can serve as a stat name validation function.