Alerting: Persist AlertInstance ResolvedAt & LastSentAt (#89135)
* Alerting: Persist AlertInstance ResolvedAt & LastSentAt * Fix test * Modify existing tests * Fix merge conflicts from nullable LastSentAt & ResolvedAt
This commit is contained in:
@@ -365,6 +365,8 @@ func (c *cache) asInstances(skipNormalState bool) []ngModels.AlertInstance {
|
||||
LastEvalTime: v2.LastEvaluationTime,
|
||||
CurrentStateSince: v2.StartsAt,
|
||||
CurrentStateEnd: v2.EndsAt,
|
||||
ResolvedAt: v2.ResolvedAt,
|
||||
LastSentAt: v2.LastSentAt,
|
||||
ResultFingerprint: v2.ResultFingerprint.String(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user