Documentation
¶
Overview ¶
Package config defines the data models for entities. This file defines the models for configuration format. The defined entities are: Config (the top-level structure), Receivers, Exporters, Processors, Pipelines.
Receivers, Exporters and Processors typically have common configuration settings, however sometimes specific implementations will have extra configuration settings. This requires the configuration data for these entities to be polymorphic.
To satisfy these requirements we declare interfaces Receiver, Exporter, Processor, which define the behavior. We also provide helper structs ReceiverSettings, ExporterSettings, ProcessorSettings, which define the common settings and unmarshaling from config files.
Specific Receivers/Exporters/Processors are expected to at the minimum implement the corresponding interface and if they have additional settings they must also extend the corresponding common settings struct (the easiest approach is to embed the common struct).
Index ¶
- type ConnectorSettingsdeprecated
- type ExporterSettingsdeprecated
- type ExtensionSettingsdeprecated
- type ProcessorSettingsdeprecated
- type ReceiverSettingsdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectorSettings
deprecated
added in
v0.67.0
type ConnectorSettings struct{}
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
func NewConnectorSettings
deprecated
added in
v0.67.0
func NewConnectorSettings(component.ID) ConnectorSettings
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
type ExporterSettings
deprecated
added in
v0.24.0
type ExporterSettings struct{}
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
func NewExporterSettings
deprecated
added in
v0.24.0
func NewExporterSettings(id component.ID) ExporterSettings
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
type ExtensionSettings
deprecated
added in
v0.24.0
type ExtensionSettings struct { }
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
func NewExtensionSettings
deprecated
added in
v0.24.0
func NewExtensionSettings(component.ID) ExtensionSettings
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
type ProcessorSettings
deprecated
added in
v0.24.0
type ProcessorSettings struct{}
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
func NewProcessorSettings
deprecated
added in
v0.24.0
func NewProcessorSettings(component.ID) ProcessorSettings
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
type ReceiverSettings
deprecated
added in
v0.24.0
type ReceiverSettings struct{}
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
func NewReceiverSettings
deprecated
added in
v0.26.0
func NewReceiverSettings(component.ID) ReceiverSettings
Deprecated: [v0.68.0] will be removed soon, Config no longer requires to embed this.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package configauth implements the configuration settings to ensure authentication on incoming requests, and allows exporters to add authentication on outgoing requests.
|
Package configauth implements the configuration settings to ensure authentication on incoming requests, and allows exporters to add authentication on outgoing requests. |
Package configgrpc defines the configuration settings to create a gRPC client and server.
|
Package configgrpc defines the configuration settings to create a gRPC client and server. |
Package confighttp defines the configuration settings for creating an HTTP client and server.
|
Package confighttp defines the configuration settings for creating an HTTP client and server. |
xconfighttp
Module
|
|
Package confignet implements the configuration settings for protocols to connect and transport data information.
|
Package confignet implements the configuration settings for protocols to connect and transport data information. |
configretry
module
|
|
Package configtelemetry defines various telemetry level for configuration.
|
Package configtelemetry defines various telemetry level for configuration. |
Package configtls implements the TLS settings to load and configure TLS clients and servers.
|
Package configtls implements the TLS settings to load and configure TLS clients and servers. |