Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStatsdClient ¶
func NewStatsdClient(statsdAddress string) (c *statsd.StatsdClient, err error)
NewStatsdClient returns a new statsd client if the given address is valid
Types ¶
type StatsdMonitor ¶
type StatsdMonitor struct {
// contains filtered or unexported fields
}
StatsdMonitor represents the statsd monitor.
func NewStatsdMonitor ¶
func NewStatsdMonitor(client statsdClient, prefix string) *StatsdMonitor
NewStatsdMonitor creates a new StatsdMonitor
func (*StatsdMonitor) RecordPlugin ¶
func (m *StatsdMonitor) RecordPlugin(recipeName, pluginName, pluginType string, success bool)
RecordPlugin records a individual plugin behavior in a run
func (*StatsdMonitor) RecordRun ¶
func (m *StatsdMonitor) RecordRun(run agent.Run)
RecordRun records a run behavior
Click to show internal directories.
Click to hide internal directories.