metrics

package
v4.2.538+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DutyCycleTime     dutyCycleTag = "time"
	DutyCycleHost     dutyCycleTag = "host"
	DutyCycleInstance dutyCycleTag = "instance"
	DutyCycleJob      dutyCycleTag = "job"
	DutyCycleName     dutyCycleTag = "name"
	DutyCycleUuid     dutyCycleTag = "uuid"

	DutyCycleMinorNumber dutyCycleField = "minor_number"
	DutyCycleValue       dutyCycleField = "value"
)
View Source
const (
	MemoryTotalBytesTime     memoryTotalBytesTag = "time"
	MemoryTotalBytesHost     memoryTotalBytesTag = "host"
	MemoryTotalBytesInstance memoryTotalBytesTag = "instance"
	MemoryTotalBytesJob      memoryTotalBytesTag = "job"
	MemoryTotalBytesName     memoryTotalBytesTag = "name"
	MemoryTotalBytesUuid     memoryTotalBytesTag = "uuid"

	MemoryTotalBytesMinorNumber memoryTotalBytesField = "minor_number"
	MemoryTotalBytesValue       memoryTotalBytesField = "value"
)
View Source
const (
	MemoryUsedBytesTime     memoryUsedBytesTag = "time"
	MemoryUsedBytesHost     memoryUsedBytesTag = "host"
	MemoryUsedBytesInstance memoryUsedBytesTag = "instance"
	MemoryUsedBytesJob      memoryUsedBytesTag = "job"
	MemoryUsedBytesName     memoryUsedBytesTag = "name"
	MemoryUsedBytesUuid     memoryUsedBytesTag = "uuid"

	MemoryUsedBytesMinorNumber memoryUsedBytesField = "minor_number"
	MemoryUsedBytesValue       memoryUsedBytesField = "value"
)
View Source
const (
	NumDevicesTime     numDevicesTag = "time"
	NumDevicesHost     numDevicesTag = "host"
	NumDevicesInstance numDevicesTag = "instance"
	NumDevicesJob      numDevicesTag = "job"

	NumDevicesValue numDevicesField = "value"
)
View Source
const (
	PowerUsageMilliWattsTime     powerUsageMilliWattsTag = "time"
	PowerUsageMilliWattsHost     powerUsageMilliWattsTag = "host"
	PowerUsageMilliWattsInstance powerUsageMilliWattsTag = "instance"
	PowerUsageMilliWattsJob      powerUsageMilliWattsTag = "job"
	PowerUsageMilliWattsName     powerUsageMilliWattsTag = "name"
	PowerUsageMilliWattsUuid     powerUsageMilliWattsTag = "uuid"

	PowerUsageMilliWattsMinorNumber powerUsageMilliWattsField = "minor_number"
	PowerUsageMilliWattsValue       powerUsageMilliWattsField = "value"
)
View Source
const (
	TemperatureCelsiusTime     temperatureCelsiusTag = "time"
	TemperatureCelsiusHost     temperatureCelsiusTag = "host"
	TemperatureCelsiusInstance temperatureCelsiusTag = "instance"
	TemperatureCelsiusJob      temperatureCelsiusTag = "job"
	TemperatureCelsiusName     temperatureCelsiusTag = "name"
	TemperatureCelsiusUuid     temperatureCelsiusTag = "uuid"

	TemperatureCelsiusMinorNumber temperatureCelsiusField = "minor_number"
	TemperatureCelsiusValue       temperatureCelsiusField = "value"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DutyCycleEntity

type DutyCycleEntity struct {
	Time     time.Time
	Host     *string
	Instance *string
	Job      *string
	Name     *string
	Uuid     *string

	MinorNumber *string
	Value       *float64
}

func NewDutyCycleEntityFromMap

func NewDutyCycleEntityFromMap(data map[string]string) DutyCycleEntity

type MemoryTotalBytesEntity

type MemoryTotalBytesEntity struct {
	Time     time.Time
	Host     *string
	Instance *string
	Job      *string
	Name     *string
	Uuid     *string

	MinorNumber *string
	Value       *float64
}

func NewMemoryTotalBytesEntityFromMap

func NewMemoryTotalBytesEntityFromMap(data map[string]string) MemoryTotalBytesEntity

type MemoryUsedBytesEntity

type MemoryUsedBytesEntity struct {
	Time     time.Time
	Host     *string
	Instance *string
	Job      *string
	Name     *string
	Uuid     *string

	MinorNumber *string
	Value       *float64
}

func NewMemoryUsedBytesEntityFromMap

func NewMemoryUsedBytesEntityFromMap(data map[string]string) MemoryUsedBytesEntity

type NumDevicesEntity

type NumDevicesEntity struct {
	Time     time.Time
	Host     *string
	Instance *string
	Job      *string

	Value *float64
}

func NewNumDevicesEntityFromMap

func NewNumDevicesEntityFromMap(data map[string]string) NumDevicesEntity

type PowerUsageMilliWattsEntity

type PowerUsageMilliWattsEntity struct {
	Time     time.Time
	Host     *string
	Instance *string
	Job      *string
	Name     *string
	Uuid     *string

	MinorNumber *string
	Value       *float64
}

func NewPowerUsageMilliWattsEntityFromMap

func NewPowerUsageMilliWattsEntityFromMap(data map[string]string) PowerUsageMilliWattsEntity

type TemperatureCelsiusEntity

type TemperatureCelsiusEntity struct {
	Time     time.Time
	Host     *string
	Instance *string
	Job      *string
	Name     *string
	Uuid     *string

	MinorNumber *string
	Value       *float64
}

func NewTemperatureCelsiusEntityFromMap

func NewTemperatureCelsiusEntityFromMap(data map[string]string) TemperatureCelsiusEntity

Jump to

Keyboard shortcuts

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