Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct {
// contains filtered or unexported fields
}
func NewAggregator ¶
func NewAggregator(t dataPointQueuer, prefix string) *Aggregator
func (*Aggregator) Flush ¶
func (a *Aggregator) Flush()
func (*Aggregator) Process ¶
func (a *Aggregator) Process(st *Stat) error
type Stat ¶
func ParseStatsdPacket ¶
ParseStatsdPacket parses a statsd packet e.g: gorets:1|c|@0.1. See https://github.com/etsy/statsd/blob/master/docs/metric_types.md There is no need to support multi-metric packets here, since it uses newline as separator, the text handler in daemon/services.go would take care of it.
Click to show internal directories.
Click to hide internal directories.