func (t *T) Run(configuration model.Config) (items []model.Item, err error) {
	log.GetLogger().Info("run InstanceDetailedInformation gatherer begin")
	var result model.Item
	currentTime := time.Now().UTC()
	captureTime := currentTime.Format(time.RFC3339)
	result = model.Item{
		Name:          t.Name(),
		SchemaVersion: SchemaVersion,
		Content:       collectData(),
		CaptureTime:   captureTime,
	}
	items = append(items, result)
	log.GetLogger().Info("run InstanceDetailedInformation gatherer end")
	return
}
Run executes the gatherer and returns list of inventory.Item comprising of collected data
package instancedetailedinformation
import (
	"time"
	"github.com/aliyun/aliyun_assist_client/agent/inventory/model"
	"github.com/aliyun/aliyun_assist_client/agent/log"
)
const (
	GathererName = "ACS:InstanceDetailedInformation"
	SchemaVersion = "1.0"
)
type T struct{}
var collectData = CollectInstanceData
func Gatherer() *T {
	return new(T)
}
func (t *T) Name() string {
	return GathererName
}