feat(alerting): added eval match to test results

This commit is contained in:
Torkel Ödegaard
2016-08-18 11:22:24 +02:00
parent 2f953d75a6
commit 5cf9711862
6 changed files with 33 additions and 9 deletions
+2 -1
View File
@@ -53,8 +53,9 @@ func (c *QueryCondition) Eval(context *alerting.EvalContext) {
Metric: series.Name,
Value: reducedValue,
})
context.Firing = true
}
context.Firing = evalMatch
}
}