Skip to content

Commit

Permalink
[RAC][Observability] filter out recovered alerts for next tracked ale…
Browse files Browse the repository at this point in the history
…rts (#112398)
  • Loading branch information
mgiota authored Sep 16, 2021
1 parent a61afb3 commit 9004571
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export const createLifecycleExecutor = (

const nextTrackedAlerts = Object.fromEntries(
allEventsToIndex
.filter(({ event }) => event[ALERT_STATUS] !== 'closed')
.filter(({ event }) => event[ALERT_STATUS] !== ALERT_STATUS_RECOVERED)
.map(({ event }) => {
const alertId = event[ALERT_INSTANCE_ID]!;
const alertUuid = event[ALERT_UUID]!;
Expand Down

0 comments on commit 9004571

Please sign in to comment.