metrics: github.com/codahale/metrics/runtime Index | Files

package runtime

import "github.com/codahale/metrics/runtime"

Package runtime registers gauges and counters for various operationally important aspects of the Go runtime.

To use, import this package:

import _ "github.com/codahale/metrics/runtime"

This registers the following gauges:

FileDescriptors.Max
FileDescriptors.Used
Mem.NumGC
Mem.PauseTotalNs
Mem.LastGC
Mem.NextGC
Mem.Alloc
Mem.HeapObjects
Goroutines.Num

Index

Package Files

doc.go fds.go goroutines.go memstats.go

Package runtime imports 4 packages (graph) and is imported by 6 packages. Updated 2016-07-22. Refresh now. Tools for package owners.