Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ContainerGPUMemoryUsedBytesDesc = prometheus.NewDesc( "container_gpu_memory_used_bytes", "Total accelerator memory allocated in bytes.", []string{"model", "id", "container_name", "pod_name", "pod_namespace"}, map[string]string{"make": "nvidia"}, ) ContainerGPUMemoryTotalBytes = prometheus.NewDesc( "container_gpu_memory_total_bytes", "Total accelerator memory in bytes.", []string{"model", "id", "container_name", "pod_name", "pod_namespace"}, map[string]string{"make": "nvidia"}, ) ContainerDutyCycle = prometheus.NewDesc( "container_gpu_duty_cycle", "Percent of time over the past 10s during which the accelerator was actively processing", []string{"model", "id", "container_name", "pod_name", "pod_namespace"}, map[string]string{"make": "nvidia"}, ) )
Functions ¶
func NewGPUCollector ¶
func NewGPUCollector(statsProvider gpustats.GPUStatsProvider, podProvider kubeletdevices.DeviceProvider) *gpuCollector
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.