Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct { User string Token string Source string C chan map[string]float64 // contains filtered or unexported fields }
An Aggregator is a continuous client to Librato. It listens for new metric pairs to come in over a channel, aggregates them according to name, and submits those metrics to the Librato API every 5 seconds.
func New ¶
func New(user, token, source string) (a *Aggregator)
New takes a user, token and source and returns a pointer to an Aggregator.
Click to show internal directories.
Click to hide internal directories.