Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultQField = qFieldsAuto
)
Variables ¶
View Source
var ( ErrUnexpectedQueryField = errors.New("unexpected query field") ErrParseNumber = errors.New("could not parse number from value") )
View Source
var ErrFieldCountMismatch = fmt.Errorf("field count mismatch")
View Source
var (
ErrNoQueryFields = errors.New("could not extract any query fields")
)
Functions ¶
func QFieldSliceToStringSlice ¶
func QFieldSliceToStringSlice(qs []qField) []string
Types ¶
type GPUStats ¶
type GPUStats struct { config.PluginConfig NvidiaSmiCommand string `toml:"nvidia_smi_command"` QueryFieldNames string `toml:"query_field_names"` // contains filtered or unexported fields }
func (*GPUStats) Gather ¶
func (s *GPUStats) Gather(slist *types.SampleList)
type MetricInfo ¶
type MetricInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.