top

Package runtimestats exposes metrics related to the Go runtime.

It exports the allocator statistics (go/mem/* metrics) and the current number of goroutines (go/goroutine/num).

Should be invoked manually for now. Call Report(c) to populate the metrics prior tsmon Flush.

Imports 3 package(s) ΒΆ

  1. github.com/luci/luci-go/common/tsmon/metric
  2. github.com/luci/luci-go/common/tsmon/types
  3. golang.org/x/net/context