Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricSender ¶
type MetricSender interface { SendValue(name string, value float64, unit string) error IncrementCounter(name string) error AddToCounter(name string, delta uint64) error }
A MetricSender emits metric events.
func NewMetricSender ¶
func NewMetricSender(eventEmitter emitter.EventEmitter) MetricSender
NewMetricSender instantiates a metricSender with the given EventEmitter.
Click to show internal directories.
Click to hide internal directories.