forked from mirror/client_golang
heap bytes released total
This commit is contained in:
parent
1eb8d032a8
commit
db58b27d95
|
@ -111,8 +111,8 @@ func NewGoCollector() *goCollector {
|
||||||
valType: GaugeValue,
|
valType: GaugeValue,
|
||||||
}, {
|
}, {
|
||||||
desc: NewDesc(
|
desc: NewDesc(
|
||||||
memstatNamespace("heap_released_bytes"),
|
memstatNamespace("heap_released_bytes_total"),
|
||||||
"Number of bytes in heap released to OS.",
|
"Total number of heap bytes released to OS.",
|
||||||
nil, nil,
|
nil, nil,
|
||||||
),
|
),
|
||||||
eval: func(ms *runtime.MemStats) float64 { return float64(ms.HeapReleased) },
|
eval: func(ms *runtime.MemStats) float64 { return float64(ms.HeapReleased) },
|
||||||
|
|
Loading…
Reference in New Issue