Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher checks metrics against known patterns
func NewMatcher ¶
func NewMatcher(logger moira.Logger, metrics *graphite.FilterMetrics, patternsStorage *filter.PatternStorage) *Matcher
NewMatcher creates pattern matcher
type RefreshPatternWorker ¶
type RefreshPatternWorker struct {
// contains filtered or unexported fields
}
RefreshPatternWorker realization
func NewRefreshPatternWorker ¶
func NewRefreshPatternWorker(database moira.Database, metrics *graphite.FilterMetrics, logger moira.Logger, patternStorage *filter.PatternStorage) *RefreshPatternWorker
NewRefreshPatternWorker creates new RefreshPatternWorker
func (*RefreshPatternWorker) Start ¶
func (worker *RefreshPatternWorker) Start() error
Start process to refresh pattern tree every second
func (*RefreshPatternWorker) Stop ¶
func (worker *RefreshPatternWorker) Stop() error
Stop stops update pattern tree
Click to show internal directories.
Click to hide internal directories.