metrics

package
v4.2.604+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DutyCycle            InternalInflux.Measurement = "nvidia_gpu_duty_cycle"
	MemoryTotalBytes     InternalInflux.Measurement = "nvidia_gpu_memory_total_bytes"
	MemoryUsedBytes      InternalInflux.Measurement = "nvidia_gpu_memory_used_bytes"
	NumDevices           InternalInflux.Measurement = "nvidia_gpu_num_devices"
	PowerUsageMilliWatts InternalInflux.Measurement = "nvidia_gpu_power_usage_milliwatts"
	TemperatureCelsius   InternalInflux.Measurement = "nvidia_gpu_temperature_celsius"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DutyCycleRepository

type DutyCycleRepository struct {
	// contains filtered or unexported fields
}

func NewDutyCycleRepositoryWithConfig

func NewDutyCycleRepositoryWithConfig(cfg InternalInflux.Config) *DutyCycleRepository

func (*DutyCycleRepository) ListMetrics

func (r *DutyCycleRepository) ListMetrics(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*EntityInfluxGpuMetric.DutyCycleEntity, error)

type MemoryTotalBytesRepository

type MemoryTotalBytesRepository struct {
	// contains filtered or unexported fields
}

func NewMemoryTotalBytesRepositoryWithConfig

func NewMemoryTotalBytesRepositoryWithConfig(cfg InternalInflux.Config) *MemoryTotalBytesRepository

func (*MemoryTotalBytesRepository) ListMemoryTotalBytes

func (r *MemoryTotalBytesRepository) ListMemoryTotalBytes(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*EntityInfluxGpuMetric.MemoryTotalBytesEntity, error)

type MemoryUsedBytesRepository

type MemoryUsedBytesRepository struct {
	// contains filtered or unexported fields
}

func NewMemoryUsedBytesRepositoryWithConfig

func NewMemoryUsedBytesRepositoryWithConfig(cfg InternalInflux.Config) *MemoryUsedBytesRepository

func (*MemoryUsedBytesRepository) ListMetrics

func (r *MemoryUsedBytesRepository) ListMetrics(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*EntityInfluxGpuMetric.MemoryUsedBytesEntity, error)

type NumDevicesRepository

type NumDevicesRepository struct {
	// contains filtered or unexported fields
}

func NewNumDevicesRepositoryWithConfig

func NewNumDevicesRepositoryWithConfig(cfg InternalInflux.Config) *NumDevicesRepository

func (*NumDevicesRepository) ListNumDevices

func (r *NumDevicesRepository) ListNumDevices(host, instance string, condition *DBCommon.QueryCondition) ([]*EntityInfluxGpuMetric.NumDevicesEntity, error)

type PowerUsageMilliWattsRepository

type PowerUsageMilliWattsRepository struct {
	// contains filtered or unexported fields
}

func NewPowerUsageMilliWattsRepositoryWithConfig

func NewPowerUsageMilliWattsRepositoryWithConfig(cfg InternalInflux.Config) *PowerUsageMilliWattsRepository

func (*PowerUsageMilliWattsRepository) ListMetrics

type TemperatureCelsiusRepository

type TemperatureCelsiusRepository struct {
	// contains filtered or unexported fields
}

func NewTemperatureCelsiusRepositoryWithConfig

func NewTemperatureCelsiusRepositoryWithConfig(cfg InternalInflux.Config) *TemperatureCelsiusRepository

func (*TemperatureCelsiusRepository) ListMetrics

Jump to

Keyboard shortcuts

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