let end_of_request t ~connection_id ~request ~response_log ~body_length =
    Collection.add t.measurements
      (Item.end_of_request
         (Item.make_http_request connection_id request)
         (Item.make_reponse_log response_log body_length))