Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCSV ¶ added in v0.6.0
func ConvertCSV(args *ConvertCSVArgs) error
func ConvertV1ToV2 ¶ added in v0.6.0
func ConvertV1ToV2(args *ConvertArgs) error
Types ¶
type ConvertArgs ¶ added in v0.6.0
type ConvertCSVArgs ¶ added in v0.6.0
type HardwareDataSink ¶
type HardwareDataSink interface {
Observe(ctx context.Context, info *pb.MachineMetrics)
}
type HardwareInfo ¶ added in v0.6.0
type HardwareInfo struct { // Load as a percentage [0-100]. Load []int `json:"load" yaml:"load"` // TJMax is the thermal junction maximum of the CPU. Once the temperature hits this limit the CPU will thermal throttle. TJMax []float64 `json:"tjMax" yaml:"tjMax"` // CoreCount is the total number of cores across all CPUs on the machine. CoreCount int `json:"coreCount" yaml:"coreCount"` // CPUCount is the number of CPUs on the machine. CPUCount int `json:"cpuCount" yaml:"cpuCount"` // TemperatureCelcius is the temperature of each core expressed in Celcius. TemperatureCelcius []float64 `json:"temperatureCelcius" yaml:"temperatureCelcius"` // VID is the voltage requested by the CPU. VID float64 `json:"vid" yaml:"vid"` // CPUSpeed is the clock frequency of the CPU. CPUSpeed float64 `json:"cpuSpeed" yaml:"cpuSpeed"` // FSBSpeed is the clock frequency of the front side bus. FSBSpeed float64 `json:"fsbSpeed" yaml:"fsbSpeed"` // Multiplier is the front side bus multipler of the CPU. Multiplier float64 `json:"multiplier" yaml:"multiplier"` // CPUName is the name and model of the CPU. CPUName string `json:"cpuName" yaml:"cpuName"` // Timestamp is the time that the sample was taken. Timestamp time.Time `json:"timestamp" yaml:"timestamp"` }
HardwareInfo includes CPU and motherboard information about the host machine.
Click to show internal directories.
Click to hide internal directories.