diff options
| author | Rich Brown <[email protected]> | 2022-06-05 08:22:42 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-05 08:22:42 -0400 |
| commit | 5d7a55ebed54724233aa0b9b417643b9fc91a352 (patch) | |
| tree | 26659fa5abd090ac83bb49e5cb8c2de4efc01853 /stats/stats.go | |
| parent | f97d4a8753d0df65704dcaf46dbc30de9d8898b7 (diff) | |
| parent | d06438ff7414abfcc5a2a1bd13a935ee594f0842 (diff) | |
Merge branch 'network-quality:main' into main
Diffstat (limited to 'stats/stats.go')
| -rw-r--r-- | stats/stats.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stats/stats.go b/stats/stats.go index a636326..f5ae4cb 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -22,6 +22,7 @@ type TraceStats struct { TLSDoneTime utilities.Optional[time.Time] ConnectStartTime time.Time ConnectDoneTime time.Time + ConnectionReused bool GetConnectionStartTime time.Time GetConnectionDoneTime time.Time HttpWroteRequestTime time.Time @@ -44,6 +45,7 @@ func (s *TraceStats) String() string { fmt.Sprintf("TLSDoneTime: %v\n", s.TLSDoneTime) + fmt.Sprintf("ConnectStartTime: %v\n", s.ConnectStartTime) + fmt.Sprintf("ConnectDoneTime: %v\n", s.ConnectDoneTime) + + fmt.Sprintf("ConnectionReused: %v\n", s.ConnectionReused) + fmt.Sprintf("GetConnectionStartTime: %v\n", s.GetConnectionStartTime) + fmt.Sprintf("GetConnectionDoneTime: %v\n", s.GetConnectionDoneTime) + fmt.Sprintf("HttpResponseReadyTime: %v\n", s.HttpResponseReadyTime) |
