package
1.6.112
Repository: https://github.com/hernad/nomad.git
Documentation: pkg.go.dev

# Functions

CPUMHzPerCore returns the MHz per CPU (P, E) core type.
CPUModelName returns the model name of the CPU.
CPUNumCores returns the number of CPU cores available.
No description provided by the author
NewHostCpuStatsCalculator returns a HostCpuStatsCalculator.
NewHostStatsCollector returns a HostStatsCollector.

# Structs

CPUStats represents stats related to cpu usage.
DiskStats represents stats related to disk usage.
HostCpuStatsCalculator calculates cpu usage percentages.
HostStats represents resource usage stats of the host running a Nomad client.
HostStatsCollector collects host resource usage stats.
MemoryStats represents stats related to virtual memory usage.

# Interfaces

NodeStatsCollector is an interface which is used for the purposes of mocking the HostStatsCollector in the tests.

# Type aliases

DeviceGroupStats represents stats related to device group.
DeviceStatsCollector is used to retrieve all the latest statistics for all devices.