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 ¶
Collect collects runtime metrics periodically sending them to s.
Collect blocks until the process exits. To stop collection, use CollectWithContext instead.
func CollectEvery ¶
CollectEvery collects runtime metrics at interval d sending them to s.
CollectEvery blocks until the process exits. To stop collection, use CollectWithContext instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.