Documentation ¶
Index ¶
- Constants
- type GCPIMDSProcessor
- func (r *GCPIMDSProcessor) Add(metric telegraf.Metric, _ telegraf.Accumulator) error
- func (r *GCPIMDSProcessor) Init() error
- func (r *GCPIMDSProcessor) LookupIMDSTags(metric telegraf.Metric) telegraf.Metric
- func (*GCPIMDSProcessor) SampleConfig() string
- func (r *GCPIMDSProcessor) Start(acc telegraf.Accumulator) error
- func (r *GCPIMDSProcessor) Stop()
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCPIMDSProcessor ¶
type GCPIMDSProcessor struct { ImdsTags []string `toml:"imds_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 (*GCPIMDSProcessor) Add ¶
func (r *GCPIMDSProcessor) Add(metric telegraf.Metric, _ telegraf.Accumulator) error
func (*GCPIMDSProcessor) Init ¶
func (r *GCPIMDSProcessor) Init() error
func (*GCPIMDSProcessor) LookupIMDSTags ¶
func (r *GCPIMDSProcessor) LookupIMDSTags(metric telegraf.Metric) telegraf.Metric
func (*GCPIMDSProcessor) SampleConfig ¶
func (*GCPIMDSProcessor) SampleConfig() string
func (*GCPIMDSProcessor) Start ¶
func (r *GCPIMDSProcessor) Start(acc telegraf.Accumulator) error
func (*GCPIMDSProcessor) Stop ¶
func (r *GCPIMDSProcessor) Stop()
Click to show internal directories.
Click to hide internal directories.