Rename mem_stats field to mem
This commit is contained in:
parent
7a64ae2d1b
commit
4252cd7eeb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue