Versions in this module Expand all Collapse all v1 v1.0.20 Jul 29, 2022 v1.0.19 Jun 1, 2022 Changes in this version + var AcceleratorRequests = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + var DutyCycle = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + var DutyCycleNodeGpu = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + var MemoryTotal = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + var MemoryTotalNodeGpu = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + var MemoryUsed = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + var MemoryUsedNodeGpu = promauto.NewGaugeVec(prometheus.GaugeOpts{ ... }, []string{ ... }) + func AverageGPUUtilization(uuid string, since time.Duration) (uint, error) + func DeviceFromName(deviceName string) (*nvml.Device, error) + func DiscoverGPUDevices() error + func GetAllGpuDevices() map[string]*nvml.Device + func GetDevicesForAllContainers() (map[ContainerID][]string, error) + type ContainerID struct + type MetricServer struct + func NewMetricServer(collectionInterval, port int, metricsEndpointPath string) *MetricServer + func (m *MetricServer) Start() error + func (m *MetricServer) Stop()