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