diff --git a/stats/mem.go b/stats/mem.go index 413a78c..1963a2b 100644 --- a/stats/mem.go +++ b/stats/mem.go @@ -15,7 +15,7 @@ type BasicMemStats struct { // General statistics. Alloc uint64 // bytes allocated and still in use TotalAlloc uint64 // bytes allocated (even if freed) - Sys uint64 // bytes obtained from system (sum of XxxSys below) + Sys uint64 // bytes obtained from system (sum of XxxSys in runtime) Lookups uint64 // number of pointer lookups Mallocs uint64 // number of mallocs Frees uint64 // number of frees diff --git a/stats/stats.go b/stats/stats.go index 48941c6..cfe1614 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -84,7 +84,7 @@ type Stats struct { RequestsErrored uint64 `json:"requests_errored"` ResponseTime PercentileTimes `json:"response_time"` - MemStats *MemStatsWrapper `json:"mem_stats,omitempty"` + MemStats *MemStatsWrapper `json:"mem,omitempty"` events chan int ipv4PeerEvents chan int