mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
14 lines
430 B
Go
14 lines
430 B
Go
package modules
|
|
|
|
var (
|
|
UnderutilizedInstances ResourceManager
|
|
)
|
|
|
|
func init() {
|
|
UnderutilizedInstances = NewCloudwatcherManager("underutilizedinstance", "underutilizedinstances",
|
|
[]string{"id", "vm_id", "vm_name", "datetime_str", "vm_cpu", "vm_disk", "vm_memory", "vm_provider", "cpu_usage_threshold", "netio_rx_bps_threshold", "netio_tx_bps_threshold", "stastics_details"},
|
|
[]string{})
|
|
|
|
register(&UnderutilizedInstances)
|
|
}
|