use counter for heap released bytes
This commit is contained in:
parent
9a6b9d3ddf
commit
1eb8d032a8
|
@ -116,7 +116,7 @@ func NewGoCollector() *goCollector {
|
|||
nil, nil,
|
||||
),
|
||||
eval: func(ms *runtime.MemStats) float64 { return float64(ms.HeapReleased) },
|
||||
valType: GaugeValue,
|
||||
valType: CounterValue,
|
||||
}, {
|
||||
desc: NewDesc(
|
||||
memstatNamespace("heap_objects"),
|
||||
|
|
Loading…
Reference in New Issue