-
Notifications
You must be signed in to change notification settings - Fork 2
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
Send interim report at a cadence before final CME report #339
Comments
Do the interim reports get sent as JSON alerts as well? |
I haven't explicitly asked them but I think they would answer yes. That is there way to get data into the scoreboard. I need to look at the current JSON files and see if there is any other info we may want to add to an interim report JSON. Good question. Thanks for asking. |
I guess the real question is how should interim reports be marked. Should there be a a new |
'INTERIM' is perfect for the updated report info jsons. I would call the last report json 'FINAL' |
The cadence of the sent interim reports doesn't match exactly with the cadence specified in the config file. In testing, I set the cadence to 300 sec, but it is more like 420 or more seconds. |
@mgalloy Can you identify the reason for the increase in cadence? Is that due to generating the json file and interim plots and csv file? I would think they would only take seconds to produce. We do want to send those every 5 minutes and send them along with the heartbeats. Let's talk tomorrow at our 10 AM meeting. Thanks! |
I think it is where I am testing for whether to send a report is "deeper" in the hierarchy of |
That sounds good. It is a lot of work to change the logic to have it tested with the heartbeat cadence? |
Trying a run with the check at the top level where the heartbeat check is... |
This didn't help either:
|
I think the clock when running in simulation mode is inaccurate. |
This looks better:
|
I've updated the listing of alerts above with interval between them. The time between interim alerts is very close to 5 minutes now. The time between an initial alert and an interim alert, or between and interim alert and the summary alert, is not necessarily close to 5 minutes because the other alerts are firing on a different system. |
No rush on this task. The current filenames of the PNG plots and CSV files for the interim and final reports are identical. Need to update the filenames with each interim report. Currently, if you wish to save the interim report information then the previous files are overwritten unless you manually change the filenames, and that is a hassle. Current filenames:
where the time is the first alert time which is fixed New filenames:
|
Send an interim report at a cadence (default 5 min) before the final report. The report would be exactly the same except with a different subject: "Interim report" and "Final report".
Specify cadence in configuration file:
cme/report_interval
with default 300.0 (5 minutes).The text was updated successfully, but these errors were encountered: