Search before asking
Enhancement Request
Time-consuming statistics are more reasonable in posthandler.
Code in HandlerService.java:

Code in the method of preHandler:
private void preHandler() {
metrics.getSummaryMetrics().recordHTTPReqResTimeCost(System.currentTimeMillis() - requestTime);
LogUtils.debug(httpLogger, "{}", response);
}
Describe the solution you'd like
Optimize the logic in prehandler and posthandler.
Are you willing to submit PR?
Code of Conduct