Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a factory for telegraf receiver.
Types ¶
type Config ¶
type Config struct { *config.ReceiverSettings `mapstructure:"-"` // AgentConfig is the yaml config used as telegraf configuration. // Please note that only inputs should be configured as all metrics gathered // by them will be passed through to otc pipeline for processing and export. AgentConfig string `mapstructure:"agent_config"` // SeparateField controls whether the ingested metrics should have a field // concatenated with metric name like e.g. metric=mem_available or maybe rather // have it as a separate label like e.g. metric=mem field=available SeparateField bool `mapstructure:"separate_field"` }
Config defines configuration for the telegraf receiver.
Click to show internal directories.
Click to hide internal directories.