Skip to content
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

Monitor Status table updates/location #1556

Open
stscijgbot-jwql opened this issue May 2, 2024 · 0 comments
Open

Monitor Status table updates/location #1556

stscijgbot-jwql opened this issue May 2, 2024 · 0 comments

Comments

@stscijgbot-jwql
Copy link
Collaborator

Issue JWQL-191 was created on JIRA by Bryan Hilbert:

JWQL currently has a table on the Dashboard that displays the status of the various monitor runs. This table keys off the log files. If the log indicates success, the entry in the dashboard table is green. If it does not, the entry is red. However, this does not distinguish at all between monitor runs where nothing happens (because there is not enough data) and runs where the full monitor does run.

Emily Wislowski also pointed out that having the status table on e.g. the instrument main pages might make it more visible.

Ideas for an update:

Move the table to the instrument pages. Note that the table would be identical for all instruments though, since the monitors typically loop over instruments during a single run. 

Rather than (or in addition to) looking for the "SUCCESS" text in the log files, query the databases for each monitor. Find the most recent date where the monitor ran. But also find the most recent date when the monitor completed all of its analysis and updated the databases.

Point 2 has the added advantage of importing all of the monitor models, which may be helpful in making sure Django sees all of the models and picks up on any changes that will require new migrations.

 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant