clustvirt/lib/host/stats.go
Matthew Stobbs 7945a32ac1 creating better system for stats
- 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
2024-03-20 11:40:32 -06:00

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
}