Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { io.Closer Incr(string, int64) Gauge(string, int64) GaugeDelta(string, int64) Timing(string, time.Time) }
Client exposes all the behavior for capturing and and sending various measurements to a metrics sink.
func NewNoOpClient ¶
func NewNoOpClient() Client
NewNoOpClient creates a metrics client that does not send any measurements.
func NewStatsDClient ¶
NewStatsDClient creates a metrics client that sends various measurements to StatsD client.
Click to show internal directories.
Click to hide internal directories.