mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
do not over write alerting rule duration (#36930)
This commit is contained in:
parent
f32d200fc0
commit
fa0bed7118
@ -144,7 +144,6 @@ func (srv PrometheusSrv) RouteGetRuleStatuses(c *models.ReqContext) response.Res
|
||||
newGroup.LastEvaluation = alertState.LastEvaluationTime
|
||||
}
|
||||
|
||||
alertingRule.Duration = alertState.EvaluationDuration.Seconds()
|
||||
newRule.EvaluationTime = alertState.EvaluationDuration.Seconds()
|
||||
|
||||
switch alertState.State {
|
||||
|
Loading…
Reference in New Issue
Block a user