Documentation ¶
Overview ¶
Package error implements NVIDIA GPU driver error detector.
Index ¶
Constants ¶
View Source
const ( StateNameError = "error" StateKeyErrorData = "data" StateKeyErrorEncoding = "encoding" StateValueErrorEncodingJSON = "json" )
View Source
const Name = "accelerator-nvidia-error"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Query query_config.Config `json:"query"`
}
type Output ¶
type Output struct {
Errors []string `json:"errors"`
}
func ParseOutputJSON ¶
func ParseStatesToOutput ¶
func ParseStatesToOutput(states ...components.State) (*Output, error)
func ToOutput ¶
func ToOutput(i *nvidia_query.Output) *Output
ToOutput converts nvidia_query.Output to Output. It returns an empty non-nil object, if the input or the required field is nil (e.g., i.SMI).
Directories ¶
Path | Synopsis |
---|---|
Package sxid tracks the NVIDIA GPU SXid errors scanning the dmesg.
|
Package sxid tracks the NVIDIA GPU SXid errors scanning the dmesg. |
id
Package id provides the nvidia error sxid id component.
|
Package id provides the nvidia error sxid id component. |
Package xid tracks the NVIDIA GPU Xid errors scanning the dmesg and using the NVIDIA Management Library (NVML).
|
Package xid tracks the NVIDIA GPU Xid errors scanning the dmesg and using the NVIDIA Management Library (NVML). |
id
Package id provides the nvidia error xid id component.
|
Package id provides the nvidia error xid id component. |
Click to show internal directories.
Click to hide internal directories.