You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, this pattern is perfectly good. We leave it to Elarm to keep track of whether the alarm has already been active, so the elarm:clear and elarm:raise calls will actually clear or raise the alarm if that is needed. There is a caveat that I described in #32: if you re-raise an alarm and change the level to let's say 92, in the current implemention the alarm will keep having the old additional info with level 90.
@nygge might not agree with me, because in issue #9, he argued that "an alarm is an indication of an error state in a component/system, so it should always know if this error state is present or not, therefore it should never raise the same alarm again if it has already been raised".
Is this the pattern to use? Always call clear if things went well regardless if there is a raise before?
The text was updated successfully, but these errors were encountered: