Documentation
¶
Index ¶
- type Client
- func (c *Client) Count(name string, value int64, tags []string) error
- func (c *Client) Decr(name string, tags []string) error
- func (c *Client) Gauge(name string, value float64, tags []string) error
- func (c *Client) Histogram(name string, value float64, tags []string) error
- func (c *Client) Incr(name string, tags []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// Namespace to prepend to all statsd calls
Namespace string
// Tags are global tags to be added to every statsd call
Tags []string
}
A Client is a handle for sending messages to datadog. It is safe to use one Client from multiple goroutines simultaneously.
Click to show internal directories.
Click to hide internal directories.