diff --git a/run/o2sim_kine_publisher.cxx b/run/o2sim_kine_publisher.cxx index 83f82fd69cca3..f72dd6eebaaf0 100644 --- a/run/o2sim_kine_publisher.cxx +++ b/run/o2sim_kine_publisher.cxx @@ -49,8 +49,8 @@ struct O2simKinePublisher { ++eventCounter; } // report number of TFs injected for the rate limiter to work - pc.services().get().send(o2::monitoring::Metric{(uint64_t)tfCounter, "df-sent"}.addTag(o2::monitoring::tags::Key::Subsystem, o2::monitoring::tags::Value::DPL)); ++tfCounter; + pc.services().get().send(o2::monitoring::Metric{(uint64_t)tfCounter, "df-sent"}.addTag(o2::monitoring::tags::Key::Subsystem, o2::monitoring::tags::Value::DPL)); if (eventCounter >= nEvents) { pc.services().get().endOfStream(); pc.services().get().readyToQuit(QuitRequest::Me);