-
Notifications
You must be signed in to change notification settings - Fork 9
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
add facility for displaying status checks to front page #79
Comments
I had some thoughts and questions while doing some experiments on this today. One possible solution could be we add a 'check' context provider, which will provide each check name, info, check logic, status. To achieve that, we need to perform checks on all targets (i.e. all resources ...) That logic seems straightforward, but we need to have each resource in place, which is relatively time-consuming and not good for performance perspective (we only load information we need for now using I was thinking if irods could perform checks at the time a new resource is created (or modified ?) and update the result in its That's a lot and I could be wrong, open to discussion :) |
The checks I'm thinking of can be per-resource or per-zone or per-user or ... all kinds of things. So let's think of specific tests/checks we'd like to run and see if any patterns emerge. Performance is not really an issue here - the ZMT can do these in the background and load them into a global context and just hold them... and then maybe check again after 10min or so... Definitely not in the hot path of making the user wait for anything to happen in realtime. Let's plan to talk and get a couple examples captured here. First thinking...
|
Thinking about configuration for this... I like the idea of a directory of checkfiles
I'm also open to a single-file format (.json?) for a checkfile that defines multiple checks... but... maybe that's harder to reason about as an administrator? Harder to hold correctly? More brittle since breaking one breaks them all? So on deployment, the ZMT would find and load the checks:
The interface could distinguish/show which are default, override, additional (with an icon/symbol and/or color) So... once we know the parts we need... we'll formalize that in a |
|
I've broken the following into new issues:
I think the remaining work for this is...
|
a new facility for running defined 'checks'
this could possibly 'eat' the 'API endpoint status' functionality currently provided in the footer
The text was updated successfully, but these errors were encountered: