File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -891,6 +891,11 @@ o2::framework::ServiceSpec CommonServices::dataProcessingStats()
891891 if (!DefaultsHelpers::onlineDeploymentMode () && DefaultsHelpers::deploymentMode () != DeploymentMode::FST) {
892892 arrowAndResourceLimitingMetrics = true ;
893893 }
894+
895+ int64_t consumedTimeframesPublishInterval = 0 ;
896+ if (DefaultsHelpers::deploymentMode () == DeploymentMode::OnlineECS) {
897+ consumedTimeframesPublishInterval = 5000 ;
898+ }
894899 // Input proxies should not report cpu_usage_fraction,
895900 // because of the rate limiting which biases the measurement.
896901 auto & spec = services.get <DeviceSpec const >();
@@ -950,7 +955,7 @@ o2::framework::ServiceSpec CommonServices::dataProcessingStats()
950955 MetricSpec{.name = " consumed-timeframes" ,
951956 .metricId = (int )ProcessingStatsId::CONSUMED_TIMEFRAMES,
952957 .kind = Kind::UInt64,
953- .minPublishInterval = 0 ,
958+ .minPublishInterval = consumedTimeframesPublishInterval ,
954959 .maxRefreshLatency = quickRefreshInterval,
955960 .sendInitialValue = true },
956961 MetricSpec{.name = " min_input_latency_ms" ,
You can’t perform that action at this time.
0 commit comments