Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OS ¶
func OS() monkit.StatSource
OS returns a StatSource that includes various operating system process data such as the number of file descriptors open and other information from /proc if available. Not expected to be called directly, as this StatSource is added by Register.
func Process ¶
func Process() monkit.StatSource
Process returns a StatSource including generic process data, such as the process uptime, and a crc of the executing binary if possible. Also includes a 'control' value so data collectors can accurately count how many unique running processes being monitored there are. Not expected to be called directly, as this StatSource is added by Register.
func Register ¶
func Register(registry *monkit.Registry)
Register attaches all of this package's environment data to the given registry. It will be attached to a top-level scope called 'env'.
Types ¶
This section is empty.