use counter for heap released bytes

This commit is contained in:
Kevin Pike 2015-10-06 08:18:17 -07:00
parent 9a6b9d3ddf
commit 1eb8d032a8
1 changed files with 1 additions and 1 deletions

View File

@ -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"),