From e00527f5f240ab0e66ec37812a4d16481444c74c Mon Sep 17 00:00:00 2001 From: Ole Schmidt Date: Tue, 23 Apr 2024 15:39:40 +0200 Subject: [PATCH] Prepare QC for GLOBAL data sizes --- jit/glo-qc-data-size | 1 + workflows/readout-dataflow.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 jit/glo-qc-data-size diff --git a/jit/glo-qc-data-size b/jit/glo-qc-data-size new file mode 100644 index 000000000..58e90f0b3 --- /dev/null +++ b/jit/glo-qc-data-size @@ -0,0 +1 @@ +o2-qc --config consul-json://{{ consul_endpoint }}/o2/components/qc/ANY/any/glo-qc-data-size --remote --shm-metadata-msg-size {{ qc_shm_metadata_msg_size }} -b diff --git a/workflows/readout-dataflow.yaml b/workflows/readout-dataflow.yaml index 1d1ade72b..63869a0bf 100755 --- a/workflows/readout-dataflow.yaml +++ b/workflows/readout-dataflow.yaml @@ -914,6 +914,15 @@ defaults: panel: "QC_Nodes_Workflows" index: 24 visibleif: $$qc_remote_enabled === "true" + glo_data_size_qc_enabled: !public + value: "false" + type: bool + label: "QC Data Sizes" + description: "Enable/disable QC Data Sizes" + widget: checkBox + panel: "QC_Nodes_Workflows" + index: 25 + visibleif: $$qc_remote_enabled === "true" ############################### # TRG Panel ############################### @@ -1780,6 +1789,9 @@ roles: - name: glo-qc-big-screen enabled: "{{ glo_big_screen_qc_enabled == 'true' && qc_remote_jit_enabled == 'true'}}" include: "{{ qc_remote_jit_enabled == 'true' ? dpl.GenerateFromUri('glo-qc-big-screen') : '' }}" + - name: glo-qc-data-size + enabled: "{{ glo_data_size_qc_enabled == 'true' && qc_remote_jit_enabled == 'true'}}" + include: "{{ qc_remote_jit_enabled == 'true' ? dpl.GenerateFromUri('glo-qc-data-size') : '' }}" # When qc_remote_enabled is true, it will try to deploy a qc_remote_workflow for every detector in the list. # However if the {{detector}}_qc_remote_workflow is none, we deploy a ghost role that does nothing to preserve # control tree state management.// FIXME: this is probably not needed anymore