Added firingEvalution to Rule test

This commit is contained in:
utkarshcmu
2016-11-17 01:28:17 -08:00
parent f46c4c88ca
commit 690868c837
4 changed files with 17 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ type AlertTestCommand struct {
type AlertTestResult struct {
Firing bool `json:"firing"`
FiringEval string `json:"firingEvaluation"`
TimeMs string `json:"timeMs"`
Error string `json:"error,omitempty"`
EvalMatches []*EvalMatch `json:"matches,omitempty"`