component

package module
v1.64.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 1,986

Documentation

Overview

Package component outlines the abstraction of components within the OpenTelemetry Collector. It provides details on the component lifecycle as well as defining the interface that components must fulfill.

Package component outlines the components used in the collector and provides a foundation for the component’s creation and termination process. A component can be either a receiver, exporter, processor, an extension, or a connector.

Index

Examples

Constants

This section is empty.

Variables

View Source
var (
	KindReceiver  = Kind{/* contains filtered or unexported fields */}
	KindProcessor = Kind{/* contains filtered or unexported fields */}
	KindExporter  = Kind{/* contains filtered or unexported fields */}
	KindExtension = Kind{/* contains filtered or unexported fields */}
	KindConnector = Kind{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	// Command is the executable file name, e.g. "otelcol".
	Command string

	// Description is the full name of the collector, e.g. "OpenTelemetry Collector".
	Description string

	// Version string.
	Version string
	// contains filtered or unexported fields
}

BuildInfo is the information that is logged at the application start and passed into each component. This information can be overridden in custom build.

func NewDefaultBuildInfo

func NewDefaultBuildInfo() BuildInfo

NewDefaultBuildInfo returns a default BuildInfo.