jira-importer opened a new issue, #1351:
URL: https://github.com/apache/httpcomponents-core/issues/1351

   **[Zhang 
Guilin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=colin)** 
opened 
**[HTTPCORE-230](https://issues.apache.org/jira/browse/HTTPCORE-230?redirect=false)**
 and commented
   
   I found this issue 
[HTTPCORE-181](https://issues.apache.org/jira/browse/HTTPCORE-181) raised 
before.
   I got the similar requirement that we want to measure all kinds of 
time-related data to get the performance report such as:
   1. DNS parsing time
   2. Connection setup time
   3. header parsing time
   4. body transfer time
      ...
      I found that there are a lot of "private" fields which have no setter 
method in this component, this makes us hard to extend the functionality.
      For example in org.apache.http.impl.io.AbstractSessionInputBuffer#init() 
method, it would be better to change "this.metrics = new 
HttpTransportMetricsImpl();" to "this.metrics = createMetrics()" (a protected 
method) which subclasses can easily override this if they want to get an 
extended HttpTransportMetricsImpl instance.
   
   Can some one look at this feature?
   
   
   ---
   
   **Attachments:**
   - 
[Sample_Metrics.txt](https://issues.apache.org/jira/secure/attachment/12449439/Sample_Metrics.txt)
 (_10.61 kB_)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to