Documentation
¶
Index ¶
- Constants
- type AwsEc2Processor
- func (r *AwsEc2Processor) Add(metric telegraf.Metric, _ telegraf.Accumulator) error
- func (r *AwsEc2Processor) Init() error
- func (r *AwsEc2Processor) LookupEC2Tags(metric telegraf.Metric) telegraf.Metric
- func (r *AwsEc2Processor) LookupIMDSTags(metric telegraf.Metric) telegraf.Metric
- func (*AwsEc2Processor) SampleConfig() string
- func (r *AwsEc2Processor) Start(acc telegraf.Accumulator) error
- func (r *AwsEc2Processor) Stop()
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsEc2Processor ¶
type AwsEc2Processor struct {
ImdsTags []string `toml:"imds_tags"`
EC2Tags []string `toml:"ec2_tags"`
Timeout config.Duration `toml:"timeout"`
CacheTTL config.Duration `toml:"cache_ttl"`
Ordered bool `toml:"ordered"`
MaxParallelCalls int `toml:"max_parallel_calls"`
Log telegraf.Logger `toml:"-"`
TagCacheSize int `toml:"tag_cache_size"`
LogCacheStats bool `toml:"log_cache_stats"`
// contains filtered or unexported fields
}
func (*AwsEc2Processor) Add ¶
func (r *AwsEc2Processor) Add(metric telegraf.Metric, _ telegraf.Accumulator) error
func (*AwsEc2Processor) Init ¶
func (r *AwsEc2Processor) Init() error
func (*AwsEc2Processor) LookupEC2Tags ¶
func (r *AwsEc2Processor) LookupEC2Tags(metric telegraf.Metric) telegraf.Metric
func (*AwsEc2Processor) LookupIMDSTags ¶
func (r *AwsEc2Processor) LookupIMDSTags(metric telegraf.Metric) telegraf.Metric
func (*AwsEc2Processor) SampleConfig ¶
func (*AwsEc2Processor) SampleConfig() string
func (*AwsEc2Processor) Start ¶
func (r *AwsEc2Processor) Start(acc telegraf.Accumulator) error
func (*AwsEc2Processor) Stop ¶
func (r *AwsEc2Processor) Stop()
Click to show internal directories.
Click to hide internal directories.