package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

ConfiguredModules returns a list of all configured modules, including anyone present under dynamic config settings.
NewFactory creates new Reloader instance for the given config.
NewRunner returns a Runner facade.
NewWrapper creates a new module and its associated metricsets based on the given configuration.
NewWrapperForMetricSet creates a wrapper for the selected module and metricset.
PublishChannels publishes the events read from each channel to the given publisher client.
WithEventModifier attaches an EventModifier that will be executed for each event generated by the MetricSets of the module.
WithMaxStartDelay specifies the upper bound for the random startup delay for each MetricSet in the module.
WithMetricSetInfo attaches an EventModifier that adds information about the MetricSet that generated the event.
WithServiceName sets the `service.name` field of the event with the value given to the `service.name` setting in the module configuration.

# Structs

Connector configures and establishes a beat.Client for publishing events to the publisher pipeline.
Factory creates new Runner instances from configuration objects.
Wrapper contains the Module and the private data associated with running the Module and its MetricSets.

# Interfaces

Runner is a facade for a Wrapper that provides a simple interface for starting and stopping a Module.

# Type aliases

Option specifies some optional arguments used for configuring the behavior of a module Wrapper.