// NewMonitorGroup makes a new MonitorGroup unattached to anything. func NewMonitorGroup(name string) *MonitorGroup { return &MonitorGroup{ group_name: SanitizeName(name), monitors: utils.NewThreadsafeCache(), collectors: utils.NewThreadsafeCache(), } }
// NewMonitorStore creates a new MonitorStore func NewMonitorStore() *MonitorStore { return &MonitorStore{groups: utils.NewThreadsafeCache()} }