Matthew Stobbs
7945a32ac1
- goal is to have near realtime stats being recorded - allows for different objects with stats (host, VM, etc.) to create it's own stat provideres, and register them with a collector that gathers the stats on an interval
11 lines
233 B
Go
11 lines
233 B
Go
package host
|
|
|
|
import "git.staur.ca/stobbsm/clustvirt/lib/stats"
|
|
|
|
// CollectMemUsage sends the current used memory of the host
|
|
// over the given channel
|
|
func (h *Host) CollectMemUsage(u chan<- stats.StatValue) error {
|
|
|
|
return nil
|
|
}
|