Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct { RuntimeFilters []*vm.Program `json:"-" yaml:"-"` DebugFilters []*exprhelpers.ExprDebugger `json:"-" yaml:"-"` RuntimeDurationExpr *vm.Program `json:"-" yaml:"-"` DebugDurationExpr *exprhelpers.ExprDebugger `json:"-" yaml:"-"` Cfg *csconfig.ProfileCfg `json:"-" yaml:"-"` Logger *log.Entry `json:"-" yaml:"-"` }
func NewProfile ¶
func NewProfile(profilesCfg []*csconfig.ProfileCfg) ([]*Runtime, error)
func (*Runtime) EvaluateProfile ¶
EvaluateProfile is going to evaluate an Alert against a profile to generate Decisions
Click to show internal directories.
Click to hide internal directories.