generated from honeycombio/.github
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use timestamps packet was captured instead of when it was proce… (
#75) ## Which problem is this PR solving? We use timestamps of the client and server packets to calculate a duration for the request - however we use the packet processed time to do that which may skew the duration if processing is delayed or response is processed before request. This PR switches to using the capture timestamp instead. - Closes #68 ## Short description of the changes - Add timestamp to the HTTP Reader struct and set it as part of the stream process that sets the bytes for the reader to reader from - Update the matcher store funcs to take the timestamp from the reader instead of creating it's own ## How to verify that this has the expected result Calculated duration fields are continued to be set, but should be more accurate.
- Loading branch information
1 parent
b091a33
commit 1b64737
Showing
3 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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