Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.52.0
type Config struct { // Telemetry is the configuration for collector's own telemetry. Telemetry telemetry.Config `mapstructure:"telemetry"` // Extensions are the ordered list of extensions configured for the service. Extensions extensions.Config `mapstructure:"extensions"` // Pipelines are the set of data pipelines configured for the service. Pipelines pipelines.Config `mapstructure:"pipelines"` }
Config defines the configurable components of the Service.
type PipelineConfig
deprecated
added in
v0.68.0
type PipelineConfig = pipelines.PipelineConfig
Deprecated: [v0.80.0] use pipelines.PipelineConfig.
type Service ¶ added in v0.68.0
type Service struct {
// contains filtered or unexported fields
}
Service represents the implementation of a component.Host.
type Settings ¶ added in v0.68.0
type Settings struct { // BuildInfo provides collector start information. BuildInfo component.BuildInfo // CollectorConf contains the Collector's current configuration CollectorConf *confmap.Conf // Receivers builder for receivers. Receivers *receiver.Builder // Processors builder for processors. Processors *processor.Builder // Exporters builder for exporters. Exporters *exporter.Builder // Connectors builder for connectors. Connectors *connector.Builder // Extensions builder for extensions. Extensions *extension.Builder // AsyncErrorChannel is the channel that is used to report fatal errors. AsyncErrorChannel chan error // LoggingOptions provides a way to change behavior of zap logging. LoggingOptions []zap.Option // contains filtered or unexported fields }
Settings holds configuration for building a new service.
Click to show internal directories.
Click to hide internal directories.