Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFunc ¶
CreateFunc is the equivalent of Factory.Create(...) function.
type Extension ¶
Extension is the interface for objects hosted by the OpenTelemetry Collector that don't participate directly on data pipelines but provide some functionality to the service, examples: health check endpoint, z-pages, etc.
type Factory ¶
type Factory interface { component.Factory // Create an extension based on the given config. Create(ctx context.Context, set Settings, cfg component.Config) (Extension, error) // Stability gets the stability level of the Extension. Stability() component.StabilityLevel // contains filtered or unexported methods }
func NewFactory ¶
func NewFactory( cfgType component.Type, createDefaultConfig component.CreateDefaultConfigFunc, createServiceExtension CreateFunc, sl component.StabilityLevel, ) Factory
NewFactory returns a new Factory based on this configuration.
type Settings ¶ added in v0.103.0
type Settings struct { // ID returns the ID of the component that will be created. ID component.ID component.TelemetrySettings // BuildInfo can be used by components for informational purposes BuildInfo component.BuildInfo }
Settings is passed to Factory.Create(...) function.
Directories
¶
Path | Synopsis |
---|---|
auth
module
|
|
authtest
Module
|
|
ballastextension
module
|
|
experimental
|
|
storage
Module
|
|
extensionauth
module
|
|
extensionauthtest
Module
|
|
extensioncapabilities
module
|
|
extensiontest
module
|
|
memorylimiterextension
module
|
|
xextension
module
|
|
zpagesextension
module
|
Click to show internal directories.
Click to hide internal directories.