summaryrefslogtreecommitdiff
path: root/extendedstats
AgeCommit message (Collapse)Author
2022-06-22[Cleanup] Make long lines shorter and fix static fmt warningsWill Hawkins
Besides running golines (for the first time in a while now that the tool supports generics), this commit removes punctuation and newlines from Errorf parameters -- something that gofmt does not like (I never knew!).
2022-06-22[Feature] Add extendedstats support for WindowsJJ
The added support has similar stats to getTCPInfo for linux. Signed-off-by: Will Hawkins <[email protected]>
2022-06-17[Feature] Use the new GetTCPConnectionInfo API for extended stats on macOSWill Hawkins
Now that there is support for GetTCPConnectionInfo on macOS, we can re-enable extended stats on the macOS platform!
2022-06-17[Feature] Expose send/recv mss, and reorderings in extended statsWill Hawkins
@moeller1 requested additional stats on the *nix platforms. Subsequent patch will enable the same statistics on macOS.
2022-06-15[Bugfix] Compilation error on Windows from missing packageWill Hawkins
In the conditionally compiled code on Windows, there was a missing "fmt" import that broke the build. This patch rectifies that problem.
2022-06-12[Bugfix] Dereference nil when type assertions failed in ↵Will Hawkins
IncorporateConnectionStats Errors as a result of failed type assertions in IncorporateConnectionStats were caught/logged but there was no function-termination control flow associated with these error conditions. As a result, control would continue and cause problems. This patch fixes that.
2022-06-10Disable extendedstats on darwinAlex Cohn
The Darwin golang.org/x/sys/unix package does not contain a TCPInfo struct, which causes the project not to compile on macOS systems.
2022-06-07[Bugfix] Conditional build support broken for WindowsWill Hawkins
Now that we are conditionally building parts of the source code so that we can use *nix's platform support for TCPInfo, it is hard to make sure that I have all platforms working right at the same time. @Schickendantzj helped debug this error this morning.
2022-06-05[Feature] Add -extended-stats for *nix platformsWill Hawkins
On *nix platforms, there is now a `-extended-stats` option that will print out some extended statistics for the test. The statistics are based on information gleaned from the `TCP_INFO` of the underlying TCP connections. What is implemented so far is just a proof of concept of the extended stats that could be calculated. Depending on what users want, we can add additional extended statistics.