Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-230

Need time related metrics data

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1-beta2
    • HttpCore
    • None

    Description

      I found this issue 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
      2. header parsing time
      3. 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

        1. Sample_Metrics.txt
          11 kB
          Zhang Guilin

        Activity

          People

            Unassigned Unassigned
            colin2 Zhang Guilin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: