Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
feat: added ComparedValues to SLIResult (keptn/#5496) (#358)
Browse files Browse the repository at this point in the history
* feat: added ComparedValues to EvaluationDetails (keptn/#5496)

Signed-off-by: RealAnna <[email protected]>

* feat: added ComparedAvgScore to EvaluationDetails (keptn/#5496)

Signed-off-by: RealAnna <[email protected]>

* feat: added ComparedValue to SLIResult (keptn/keptn/#5496)

Signed-off-by: RealAnna <[email protected]>
  • Loading branch information
RealAnna authored Dec 7, 2021
1 parent 7fa496e commit e95de56
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/lib/v0_2_0/evaluation.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ type EvaluationDetails struct {
}

type SLIResult struct {
Metric string `json:"metric"`
Value float64 `json:"value"`
Success bool `json:"success"`
Message string `json:"message,omitempty"`
Metric string `json:"metric"`
Value float64 `json:"value"`
ComparedValue float64 `json:"comparedValue"`
Success bool `json:"success"`
Message string `json:"message,omitempty"`
}

type SLIEvaluationResult struct {
Expand Down

0 comments on commit e95de56

Please sign in to comment.