package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# README

Elastic Distribution for OpenTelemetry Collector

This is an Elastic supported distribution of the OpenTelemetry Collector.

Running the Elastic Distribution for OpenTelemetry Collector

To run the Elastic Distribution for OpenTelemetry Collector you can use Elastic-Agent binary downloaded for your OS and architecture. Running command

./elastic-agent otel --config otel.yml

from unpacked Elastic Agent package will run Elastic-Agent as an OpenTelemetry Collector. The --config flag needs to point to OpenTelemetry Collector Configuration file. OTel mode is available only using otel subcommand. Elastic Agent will not do any autodetection of configuration file passed when used without otel subcommand and will try to run normally.

To validate OTel configuration run otel validate subcommand:

./elastic-agent otel validate --config otel.yml

feature gates are supported using --feature-gates flag.

Components

This section provides a summary of components included in the Elastic Distribution for OpenTelemetry Collector.

Receivers

ComponentVersion
jaegerreceiverv0.106.1
prometheusreceiverv0.106.1
zipkinreceiverv0.106.1
filelogreceiverv0.106.1
hostmetricsreceiverv0.106.1
httpcheckreceiverv0.106.1
k8sclusterreceiverv0.106.1
k8sobjectsreceiverv0.106.1
kubeletstatsreceiverv0.106.1
otlpreceiverv0.106.1

Exporters

ComponentVersion
elasticsearchexporterv0.106.1
fileexporterv0.106.1
debugexporterv0.106.1
otlpexporterv0.106.1
otlphttpexporterv0.106.1

Processors

ComponentVersion
elasticinframetricsprocessorv0.9.0
memorylimiterprocessorv0.106.1
attributesprocessorv0.106.1
filterprocessorv0.106.1
k8sattributesprocessorv0.106.1
resourcedetectionprocessorv0.106.1
resourceprocessorv0.106.1
transformprocessorv0.106.1
batchprocessorv0.106.1

Extensions

ComponentVersion
healthcheckextensionv0.106.1
filestoragev0.106.1
memorylimiterextensionv0.106.1

Connectors

ComponentVersion
spanmetricsconnectorv0.106.1

# Functions

No description provided by the author
NewOtelModeConfigManager creates new OtelModeConfigManager ignoring configuration coming from other sources.
No description provided by the author
No description provided by the author

# Structs

OtelModeConfigManager serves as a config manager for OTel use cases In this case agent should ignore all configuration coming from elastic-agent.yml file or other sources.