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
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. |
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). |
Click to show internal directories.
Click to hide internal directories.