-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update limit monitoring with checks for lowering repeat notifications #92
Comments
After talking with @MJJoyce I'm thinking of adding the following config options to
Both of these would require keeping track of how long (time and number of packets) a value has been out of limits, and what range the last packet was in.
|
I think this sounds good in general. I would recommend keeping the thresholds / frequency options specified in packets instead of allowing both packets and seconds. The limit checks run each packet anyway so it's a natural fit. Thoughts? |
@MJJoyce if i remember correctly, the ground limit monitoring runs in a while True loop, so it potentially runs faster than a per packet basis |
@aywaldron also, by "frequency" do you mean how often AIT checks the limits? or how often it will send a notification when a limit has tripped? |
@jordanpadams I mean how often it sends the notification. The limit would still be checked on every packet. @MJJoyce No problem just keeping to packet numbers; whatever you think will be most useful. I'm not sure if there are ever cases where packets stop being received or the rate of packets slows down or speeds up and you still want to be notified at the same time interval. |
@jordanpadams, good call, you're correct. I misremembered. I could be convinced either way. At the moment I just don't see the clearest use case for the time / packet split and keeping it as packet-only seems like it would simplify the logic. So I'm +1 to whatever y'all decide on! |
…otifications Implements new limit trip notification 'threshold' config. Notification only sent once per any number of consecutive limit trips, and only after limit trip 'threshold' (required number of consecutive tripping packets) has been met.
…otifications Implements new limit trip notification 'frequency' config by triggering notifications every 'frequency' consecutive limit-tripping packet, not taking 'threshold' into account.
…otifications Implements new limit trip notification 'threshold' config. Notification only sent once per any number of consecutive limit trips, and only after limit trip 'threshold' (required number of consecutive tripping packets) has been met.
…otifications Implements new limit trip notification 'frequency' config by triggering notifications every 'frequency' consecutive limit-tripping packet, not taking 'threshold' into account.
…otifications Implements new limit trip notification 'threshold' config. Notification only sent once per any number of consecutive limit trips, and only after limit trip 'threshold' (required number of consecutive tripping packets) has been met.
…otifications Implements new limit trip notification 'frequency' config by triggering notifications every 'frequency' consecutive limit-tripping packet, not taking 'threshold' into account.
Issue #92: Update monitoring with notification throttling
RIght now, if a limit trip continues for an extended period of time, you get bombarded with email notifications. This feature will allow for the ability to receive only every 30th (?) notification.
The text was updated successfully, but these errors were encountered: