Documentation ¶
Index ¶
- Constants
- func New(tree config.Tree) (stats.Stats, error)
- type Client
- func (c *Client) Count(key string, n interface{}, tags ...map[string]string)
- func (c *Client) Dec(key string, tags ...map[string]string)
- func (c *Client) Gauge(key string, n interface{}, tags ...map[string]string)
- func (c *Client) Histogram(key string, n interface{}, tags ...map[string]string)
- func (c *Client) Inc(key string, tags ...map[string]string)
- func (c *Client) Log(l log.Logger) stats.Stats
- func (c *Client) Start()
- func (c *Client) Stop()
- func (c *Client) Timing(key string, t time.Duration, tags ...map[string]string)
- func (c *Client) With(meta map[string]string) stats.Stats
- type Config
- type TagFormat
Constants ¶
View Source
const Name = "statsd"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type TagFormat ¶
type TagFormat uint8
TagFormat represents the format of tags sent by a Client.
const ( // InfluxDB tag format. // See https://influxdb.com/blog/2015/11/03/getting_started_with_influx_statsd.html InfluxDB TagFormat = iota + 1 // Datadog tag format. // See http://docs.datadoghq.com/guides/metrics/#tags Datadog )
Click to show internal directories.
Click to hide internal directories.