Documentation ¶
Index ¶
Constants ¶
View Source
const ( DutyCycle influxdb.Measurement = "nvidia_gpu_duty_cycle" MemoryTotalBytes influxdb.Measurement = "nvidia_gpu_memory_total_bytes" MemoryUsedBytes influxdb.Measurement = "nvidia_gpu_memory_used_bytes" NumDevices influxdb.Measurement = "nvidia_gpu_num_devices" PowerUsageMilliWatts influxdb.Measurement = "nvidia_gpu_power_usage_milliwatts" TemperatureCelsius influxdb.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 InfluxDB.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 InfluxDB.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 InfluxDB.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 InfluxDB.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 InfluxDB.Config) *PowerUsageMilliWattsRepository
func (*PowerUsageMilliWattsRepository) ListMetrics ¶
func (r *PowerUsageMilliWattsRepository) ListMetrics(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*EntityInfluxGpuMetric.PowerUsageMilliWattsEntity, error)
type TemperatureCelsiusRepository ¶
type TemperatureCelsiusRepository struct {
// contains filtered or unexported fields
}
func NewTemperatureCelsiusRepositoryWithConfig ¶
func NewTemperatureCelsiusRepositoryWithConfig(cfg InfluxDB.Config) *TemperatureCelsiusRepository
func (*TemperatureCelsiusRepository) ListMetrics ¶
func (r *TemperatureCelsiusRepository) ListMetrics(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*EntityInfluxGpuMetric.TemperatureCelsiusEntity, error)
Click to show internal directories.
Click to hide internal directories.