Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Averager ¶
type Averager interface { // Observe the value at the given time Observe(value float64, currentTime time.Time) // Read returns the average of the provided values. Read() float64 }
Averager tracks a continuous time exponential moving average of the provided values.
func NewAverager ¶
func NewSyncAverager ¶
Click to show internal directories.
Click to hide internal directories.