Documentation ¶
Overview ¶
Package xid tracks the NVIDIA GPU Xid errors scanning the dmesg and using the NVIDIA Management Library (NVML). See Xid messages https://docs.nvidia.com/deploy/gpu-debug-guidelines/index.html#xid-messages.
Index ¶
Constants ¶
View Source
const ( StateNameErrorXid = "error_xid" StateKeyErrorXidData = "data" StateKeyErrorXidEncoding = "encoding" StateValueErrorXidEncodingJSON = "json" )
View Source
const ( EventNameErroXid = "error_xid" EventKeyErroXidUnixSeconds = "unix_seconds" EventKeyErroXidData = "data" EventKeyErroXidEncoding = "encoding" EventValueErroXidEncodingJSON = "json" )
View Source
const Name = "accelerator-nvidia-error-xid"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Query query_config.Config `json:"query"`
}
type Output ¶
type Output struct { DmesgErrors []nvidia_query_xid.DmesgError `json:"dmesg_errors,omitempty"` NVMLXidEvent *nvidia_query_nvml.XidEvent `json:"nvml_xid_event,omitempty"` }
func ParseOutputJSON ¶
func ParseOutputYAML ¶
func ParseStatesToOutput ¶
func ParseStatesToOutput(states ...components.State) (*Output, error)
func (*Output) Events ¶
func (o *Output) Events() []components.Event
Click to show internal directories.
Click to hide internal directories.