Documentation ¶
Overview ¶
Package runtime implements runtime stats collection convenience functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRuntimeInterval = 10 * time.Second
DefaultRuntimeInterval is the default runtime collection interval.
Functions ¶
func Collect ¶
func Collect(s *statter.Statter)
Collect collects runtime metrics periodically sending them to s.
func CollectEvery ¶
CollectEvery collects runtime metrics at interval d sending them to s.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.