Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aliyun ¶
type Aliyun struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*Aliyun) GetInstances ¶
type Credential ¶
type Instance ¶
type Instance struct { config.InstanceConfig // credentials.Config Credential Delay config.Duration `toml:"delay"` Period config.Duration `toml:"period"` Namespaces []string `json:"namespaces"` Filters []MetricFilter `toml:"metric_filters"` // 最大请求次数 限流用 RateLimit int `toml:"ratelimit"` CacheTTL config.Duration `toml:"cache_ttl"` BatchSize int `toml:"batch_size"` RecentlyActive string `toml:"recently_active"` // 请求超时设置 Timeout config.Duration `toml:"timeout"` EcsAgentHostTag string `toml:"ecs_host_tag"` // contains filtered or unexported fields }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
Click to show internal directories.
Click to hide internal directories.