Alerting: Log expression command types during evaluation (#84614)
This commit is contained in:
@@ -216,6 +216,10 @@ func (cmd *ConditionsCmd) executeCond(_ context.Context, _ time.Time, cond condi
|
||||
return isCondFiring, isCondNoData, matches, nil
|
||||
}
|
||||
|
||||
func (cmd *ConditionsCmd) Type() string {
|
||||
return "classic_condition"
|
||||
}
|
||||
|
||||
func compareWithOperator(b1, b2 bool, operator ConditionOperatorType) bool {
|
||||
if operator == "or" {
|
||||
return b1 || b2
|
||||
|
||||
Reference in New Issue
Block a user