Documentation ¶
Index ¶
- func FindReceiversInConfig(conf *confmap.Conf, os string) (common.TranslatorMap[component.Config], error)
- func NewTranslator(inputName, cfgKey string, defaultMetricCollectionInterval time.Duration) common.Translator[component.Config]
- func NewTranslatorWithName(name, inputName, cfgKey string, ...) common.Translator[component.Config]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindReceiversInConfig ¶
func FindReceiversInConfig(conf *confmap.Conf, os string) (common.TranslatorMap[component.Config], error)
FindReceiversInConfig looks in the metrics and logs sections to determine which plugins require adapter translators. Logs is processed first, so any colliding metrics translators will override them. This follows the rule setup.
func NewTranslator ¶
func NewTranslator(inputName, cfgKey string, defaultMetricCollectionInterval time.Duration) common.Translator[component.Config]
NewTranslator creates a new adapter receiver translator.
func NewTranslatorWithName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.