masaori335 opened a new pull request #7621: URL: https://github.com/apache/trafficserver/pull/7621
Address https://github.com/apache/trafficserver/issues/7603#issuecomment-806367746 These metrics are the sum of "how many bytes the background fill write to the cache". https://github.com/apache/trafficserver/blob/f639621e238f778ba6f18aaa5de47772d6504e55/proxy/http/HttpTransact.cc#L8610 The `HttpSM::server_response_body_bytes` (= `origin_server_response_body_size`) is set on `HttpSM::tunnel_handler_ua` when client aborted. https://github.com/apache/trafficserver/blob/f639621e238f778ba6f18aaa5de47772d6504e55/proxy/http/HttpSM.cc#L3387 But it never updated, so `bg_size` is always `0`. IMO, we need to set `HttpSM::server_response_body_bytes` when background fill is done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
