Documentation ¶
Index ¶
Constants ¶
View Source
const CheckName = "cpu"
Variables ¶
This section is empty.
Functions ¶
func GetContextSwitches ¶
GetContextSwitches retrieves the number of context switches for the current process. It returns an integer representing the count and an error if the retrieval fails.
Types ¶
type Check ¶
Check doesn't need additional fields
func (*Check) Configure ¶
func (c *Check) Configure(senderManager sender.SenderManager, _ uint64, rawInstance integration.Data, rawInitConfig integration.Data, source string) error
Configure configures the network checks
Click to show internal directories.
Click to hide internal directories.