Skip to content

Commit 8c94458

Browse files
authored
Saner publishing period for FLP case (#14198)
1 parent 99c08d3 commit 8c94458

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Framework/Core/src/CommonServices.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)