@@ -160,18 +160,12 @@ void TColumnShard::Handle(TEvPrivate::TEvReadFinished::TPtr& ev, const TActorCon
160160 InFlightReadsTracker.RemoveInFlightRequest (ev->Get ()->RequestCookie , index);
161161
162162 ui64 txId = ev->Get ()->TxId ;
163- bool success = ev->Get ()->Success ;
164163 if (ScanTxInFlight.contains (txId)) {
165164 TDuration duration = TAppData::TimeProvider->Now () - ScanTxInFlight[txId];
166165 Stats.GetTabletCounters ().IncCounter (COUNTER_SCAN_LATENCY, duration);
167166 ScanTxInFlight.erase (txId);
168167 Stats.GetTabletCounters ().SetCounter (COUNTER_SCAN_IN_FLY, ScanTxInFlight.size ());
169168 Stats.GetTabletCounters ().IncCounter (COUNTER_IMMEDIATE_TX_COMPLETED);
170- if (success) {
171- Stats.GetTabletCounters ().IncCounter (COUNTER_READ_SUCCESS);
172- } else {
173- Stats.GetTabletCounters ().IncCounter (COUNTER_READ_FAIL);
174- }
175169 }
176170}
177171
@@ -333,8 +327,8 @@ void TColumnShard::FillOlapStats(
333327 statsBuilder.FillColumnTableStats (Stats.GetColumnTableCounters ());
334328 statsBuilder.FillTabletStats (Stats.GetTabletCounters ());
335329 statsBuilder.FillBackgroundControllerStats (Stats.GetBackgroundControllerCounters ());
330+ statsBuilder.FillScanCountersStats (Stats.GetScanCounters ());
336331 statsBuilder.FillExecutorStats (*Executor ());
337- statsBuilder.FillTxCompleteLag (GetTxCompleteLag ());
338332 if (TablesManager.HasPrimaryIndex ()) {
339333 statsBuilder.FillColumnEngineStats (TablesManager.MutablePrimaryIndex ().GetTotalStats ());
340334 }
@@ -366,8 +360,8 @@ void TColumnShard::FillColumnTableStats(
366360 statsBuilder.FillColumnTableStats (Stats.GetColumnTableCounters ().GetPathIdCounter (pathId));
367361 statsBuilder.FillTabletStats (Stats.GetTabletCounters ());
368362 statsBuilder.FillBackgroundControllerStats (Stats.GetBackgroundControllerCounters (), pathId);
363+ statsBuilder.FillScanCountersStats (Stats.GetScanCounters ());
369364 statsBuilder.FillExecutorStats (*Executor ());
370- statsBuilder.FillTxCompleteLag (GetTxCompleteLag ());
371365 if (TablesManager.HasPrimaryIndex ()) {
372366 auto columnEngineStats = TablesManager.GetPrimaryIndexSafe ().GetStats ().FindPtr (pathId);
373367 if (columnEngineStats && *columnEngineStats) {
0 commit comments