Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func OrgIdFromResource ¶
func SeverityNumberToText ¶
func SeverityNumberToText(severityNumber plog.SeverityNumber) string
Types ¶
type Config ¶
type Config struct {
ConfigurationExtension *component.ID `mapstructure:"configuration_extension"`
TracesConfig TracesConfig `mapstructure:"traces"`
IDSource authenv.EnvironmentSourceString `mapstructure:"id_source"`
}
type MapStore ¶
type MapStore struct {
// contains filtered or unexported fields
}
func NewMapStore ¶
func NewMapStore() *MapStore
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.