From 40e945f7891e4761fa39701b3e508fdb593064ce Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Thu, 10 Apr 2025 08:46:56 +0200 Subject: [PATCH] DPL: do not compute GUI metrics if we are in online mode --- Framework/Core/src/CommonServices.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Framework/Core/src/CommonServices.cxx b/Framework/Core/src/CommonServices.cxx index e13f1cb2094b7..9d30dac8c4de8 100644 --- a/Framework/Core/src/CommonServices.cxx +++ b/Framework/Core/src/CommonServices.cxx @@ -848,7 +848,9 @@ auto flushMetrics(ServiceRegistryRef registry, DataProcessingStats& stats) -> vo } monitoring.send(std::move(metric)); }); - relayer.sendContextState(); + if (DefaultsHelpers::onlineDeploymentMode() == false) { + relayer.sendContextState(); + } monitoring.flushBuffer(); O2_SIGNPOST_END(monitoring_service, sid, "flush", "done flushing metrics"); };