Categorygo.opentelemetry.io/collector/component

# Packages

Package componentstatus is an experimental module that defines how components should report health statues, how collector hosts should facilitate component status reporting, and how extensions should watch for new component statuses.
Package componenttest define types and functions used to help test packages implementing the component package interfaces.

# Functions

MustNewID builds a Type and returns a new ID with the given Type and empty name.
MustNewIDWithName builds a Type and returns a new ID with the given Type and name.
MustNewType creates a type.
NewDefaultBuildInfo returns a default BuildInfo.
NewID returns a new ID with the given Type and empty name.
NewIDWithName returns a new ID with the given Type and name.
NewType creates a type.
ValidateConfig validates a config, by doing this: - Call Validate on the config itself if the config implements ConfigValidator.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
skip 0, start types from 1.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BuildInfo is the information that is logged at the application start and passed into each component.
ID represents the identity for a component.
Kind represents component kinds.
TelemetrySettings provides components with APIs to report telemetry.
Type is the component type as it is used in the config.

# Interfaces

Component is either a receiver, exporter, processor, connector, or an extension.
ConfigValidator defines an optional interface for configurations to implement to do validation.
Factory is implemented by all Component factories.
Host represents the entity that is hosting a Component.

# Type aliases

Config defines the configuration for a component.Component.
CreateDefaultConfigFunc is the equivalent of Factory.CreateDefaultConfig().
ShutdownFunc specifies the function invoked when the component.Component is being shutdown.
StabilityLevel represents the stability level of the component created by the factory.
StartFunc specifies the function invoked when the component.Component is being started.