Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
TracesConfig TracesConfig `mapstructure:"traces"`
}
type OnlineWindowStat ¶
type OnlineWindowStat struct {
// contains filtered or unexported fields
}
func NewOnlineWindowStat ¶
func NewOnlineWindowStat(windowSize int) *OnlineWindowStat
func (*OnlineWindowStat) GreaterThanThreeStdDev ¶
func (o *OnlineWindowStat) GreaterThanThreeStdDev(t float64) bool
func (*OnlineWindowStat) Update ¶
func (o *OnlineWindowStat) Update(x float64)
type SlidingEstimator ¶
type SlidingEstimator struct {
// contains filtered or unexported fields
}
func NewSlidingEstimator ¶
func NewSlidingEstimator(windowInterval int64) *SlidingEstimator
type SlidingEstimatorStat ¶
type SlidingEstimatorStat struct { *OnlineWindowStat *SlidingEstimator }
func NewSlidingEstimatorStat ¶
func NewSlidingEstimatorStat(windowSize int, windowInterval int64) *SlidingEstimatorStat
func (*SlidingEstimatorStat) GreaterThanThreeStdDev ¶
func (s *SlidingEstimatorStat) GreaterThanThreeStdDev(t float64) bool
func (*SlidingEstimatorStat) Update ¶
func (s *SlidingEstimatorStat) Update(t int64, x float64)
type TracesConfig ¶
type TracesConfig struct { EstimatorWindowSize int `mapstructure:"estimator_window_size"` EstimatorInterval int64 `mapstructure:"estimator_interval"` }
func (*TracesConfig) Validate ¶
func (tc *TracesConfig) Validate() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.