Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9237

Add http handler metrics in libprocess.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: libprocess, metrics
    • Labels:
      None

      Description

      In a similar spirit to MESOS-9235, we can introduce per-route http metrics in libprocess to get a better sense of how long responses take to complete:

      • The biggest window of time that we can measure is: time from parsing a request, to finishing {{send()}}ing all of the data for its response.
      • An interesting subset of this time is how long it took from executing the handler to the response future being ready.
      • Other interesting subsets of the overall time is how long it took us before we could execute the handler (e.g. routing delay, actor queueing delay), and how long it took us to send it to the os (e.g. I/O saturation, backpressure from a slow client, etc).

      These metrics would ideally have histogram like distributions (e.g. percentiles over a window).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bmahler Benjamin Mahler
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: