metrics

package
v0.0.0-...-87c55ee Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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