mpnvidiasmi

package
v0.70.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type NVidiaSMIPlugin

type NVidiaSMIPlugin struct {
	Prefix string
}

NVidiaSMIPlugin mackerel plugin for nvidia-smi

func (NVidiaSMIPlugin) FetchMetrics

func (n NVidiaSMIPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (NVidiaSMIPlugin) GraphDefinition

func (n NVidiaSMIPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (NVidiaSMIPlugin) MetricKeyPrefix

func (n NVidiaSMIPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for mackerelplugin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL