diff --git a/go/vt/vtgate/executor.go b/go/vt/vtgate/executor.go index ef123ae2ff3..f29bacc5f2c 100644 --- a/go/vt/vtgate/executor.go +++ b/go/vt/vtgate/executor.go @@ -1267,6 +1267,7 @@ func (e *Executor) StreamExecute(ctx context.Context, method string, safeSession } logStats.ExecuteTime = time.Since(execStart) + e.updateQueryCounts(plan.Instructions.RouteType(), plan.Instructions.GetKeyspaceName(), plan.Instructions.GetTableName(), int64(logStats.ShardQueries)) return err }