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 (*Aggregator) Add ¶
func (a *Aggregator) Add(ts time.Time, value float64) *Aggregator
func (Aggregator) Average ¶
func (a Aggregator) Average() float64
func (*Aggregator) Clip ¶
func (a *Aggregator) Clip(window time.Duration) *Aggregator
type WindowAggregators ¶
type WindowAggregators map[Window]*Aggregator
Click to show internal directories.
Click to hide internal directories.