[WIP] Reworked Request timings in protocol/protocol_local Dumpfiles#87
Open
tisba wants to merge 13 commits intoprocessone:masterfrom
Open
[WIP] Reworked Request timings in protocol/protocol_local Dumpfiles#87tisba wants to merge 13 commits intoprocessone:masterfrom
tisba wants to merge 13 commits intoprocessone:masterfrom
Conversation
Contributor
|
Made the datafile RFC compliant is always a good thing, but need a lot of communication to all users before apply it in master. Maybe in 2 different changes, one that do the compliance and after the one adding new fields. |
Collaborator
Author
|
@rodo making it compliant will require a good communication to users (since fields are separated by |
added 13 commits
August 6, 2014 14:06
* updated documentation * "fixed" duration in dumpfile
Contributor
|
Just a few remarks:
Otherwise, i'm OK to be RFC compliant |
Collaborator
Author
|
Thanks for the remarks! I was thinking about adding more of those new timings to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is Work in Progress: The basic stuff should work, but I'm running lot's of tests to confirm that all timings are correct.
My goal was to have the following timings to the dumpfile (when using
protocolorprotocol_local):The time of start (1) was not exposed to the dumpfiles previously, 2. was measured but not exposed either, 4. is measured when the first data is received and the HTTP status is not set (see
ts_http_common:parse). 5. was already present in dumpfile.I haven't found a good way to get the Duration to send request timing, any hints are welcome.I also added
request_sizewhich is the size of the request headers + request payload/body, if any.I updated the documentation ("6.1. File structure") to reflect the changes to the dumpfile. I also made it more explicit that the previously existing
datevalue is NOT the end of the request, but the point in time when the request was logged. That is almost the same most of the time, but it made me almost crazy when I was trying to adding up the numbers :)I also made the dumpfile output RFC4180 compliant and added header to
protocol_localfiles.Please note that I'm an Erlang noob and my changes are probably not very idiomatic Erlang. I appreciate any feedback! When this gets accepted, I'm happy to squash my changes to a single, descriptive commit.