Get channel statistics API become slow after upgraded

I know it can be done in the api, but I want to attach this parameter to the request sent by the client. Is there any setting options such as the system console?