snews_cs.heartbeat_feedbacks¶
Attributes¶
Classes¶
Once every minute, check the HB of each detector. |
Functions¶
|
|
|
Create a plot with latency and heartbeat frequencies |
|
Requires QT libraries: sudo apt-get install qt5-default |
Remove the old feedback figures from the server |
Module Contents¶
- class snews_cs.heartbeat_feedbacks.FeedBack(verbose=False)[source]¶
Once every minute, check the HB of each detector. If the last heartbeat is from longer than usual, send an email Once every user-defined time interval, send a plot with latency and frequency statistics
- __call__()[source]¶
Continuously run and check expected heartbeats every minute Also, check if the detectors requested feedbacks create and send feedbacks with the desired time intervals
- snews_cs.heartbeat_feedbacks.check_frequencies_and_send_mail(detector, given_contact=None)[source]¶
Create a plot with latency and heartbeat frequencies and send it via emails