Documentation ¶
Overview ¶
Package gpu defines the agent corecheck for the GPU integration
Index ¶
Constants ¶
View Source
const CheckName = "gpu"
CheckName defines the name of the GPU check
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
Check represents the GPU check that will be periodically executed via the Run() function
func (*Check) Configure ¶
func (c *Check) Configure(senderManager sender.SenderManager, _ uint64, config, initConfig integration.Data, source string) error
Configure parses the check configuration and init the check
type CheckConfig ¶
type CheckConfig struct {
NVMLLibraryPath string `yaml:"nvml_library_path"`
}
CheckConfig holds the configuration for the GPU check
Directories ¶
Path | Synopsis |
---|---|
Package model contains the model for the GPU check, with types shared between the system-probe GPU probe and the gpu core agent check
|
Package model contains the model for the GPU check, with types shared between the system-probe GPU probe and the gpu core agent check |
Package nvidia holds the logic to collect metrics from the NVIDIA Management Library (NVML).
|
Package nvidia holds the logic to collect metrics from the NVIDIA Management Library (NVML). |
Click to show internal directories.
Click to hide internal directories.