DUNE-DAQ / pocket

A pocket DAQ infrastructure
7 stars 1 forks source link

Current Status for run on grafana dashboard could report "CONFIGURED" only if all applications successfully configured #68

Open jcfreeman2 opened 1 year ago

jcfreeman2 commented 1 year ago

Right now, if during the configure transition only some of the applications successfully configure, then the "Current Status" on the grafana dashboard will appear to toggle between "INITIAL" and "CONFIGURED". Eric tells me that this is because it's cycling through the individual DAQ applications and reporting their status. However, this isn't made obvious to the viewer and instead when "CONFIGURED" appears it seems as if the entire set of applications have successfully configured, even though this isn't the case. I feel like ideally the status should be the "and" of the applications (i.e., only list CONFIGURED if everything configured successfully), or at least it should be more obvious that "CONFIGURED", "INITIAL", etc, is reporting on individual applications being cycled through.

plasorak commented 1 year ago

@mroda88 do you have any thoughts on that? I think the idea here was to use the run control to fill this label.

mroda88 commented 1 year ago

Hi, yes that is the idea: to use the run control to gather all the information and to publish what is the best status according to the latest information of run control. This required the python binding for opmon and so the item is pending.