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 []component.ID `mapstructure:"extensions"` // Pipelines are the set of data pipelines configured for the service. Pipelines map[component.ID]*PipelineConfig `mapstructure:"pipelines"` }
Config defines the configurable components of the Service.
type PipelineConfig ¶ added in v0.68.0
type PipelineConfig struct { Receivers []component.ID `mapstructure:"receivers"` Processors []component.ID `mapstructure:"processors"` Exporters []component.ID `mapstructure:"exporters"` }
PipelineConfig defines the configuration of a Pipeline.
func (*PipelineConfig) Validate ¶ added in v0.68.0
func (cfg *PipelineConfig) Validate() error
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 // 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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
fanoutconsumer
Package fanoutconsumer contains implementations of Traces/Metrics/Logs consumers that fan out the data to multiple other consumers.
|
Package fanoutconsumer contains implementations of Traces/Metrics/Logs consumers that fan out the data to multiple other consumers. |
Click to show internal directories.
Click to hide internal directories.