Added handlers to ParrotTransport#45
Added handlers to ParrotTransport#45lchristopherson wants to merge 1 commit intotwitter-archive:masterfrom
Conversation
…st and one called upon response with request and response.
|
Thanks for the patch -- before I merge this let me point out that normally we handle responses in the record processor. This patch would be more meaningful if the changes were being used to implement more monitoring or if there were some example of its use. |
|
The point of this patch is to be able to time requests. For that, a callback with a response after making the call isn't enough, hence the callback with the request before making the call. Sample implementation: We use response times to alter throughput of the load generator. |
|
That is awesome but I wonder if it might be duplicating the metrics already Also, I can't help but wonder at the motivation: to alter the throughput of On Tue, Jul 14, 2015 at 5:54 PM, Manik Surtani notifications@github.com
|
|
Thanks for the pointer, looking into extracting this data from Finagle metrics. |
|
Luke Christopherson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
One called upon request with the request data and one called upon response with the request and response data. This allows for more comprehensive monitoring, namely verifying the response time of a request (unless this can already be done in a simpler way).