Skip to content

Latest commit

 

History

History
113 lines (94 loc) · 12.3 KB

README.md

File metadata and controls

113 lines (94 loc) · 12.3 KB

Observe Agent

Code for the Observe agent and CLI. The agent code is based on the OpenTelemetry Collector.

Build

To run the code you need to have golang v1.22.7 installed. Then you can run the following command to compile the binary.

go build -o observe-agent

Adding new components

Before adding new components, you'll need to install the Otel Collector Builder tool. If you're running on mac and arm64 (M chips) you can run the following command

make install-ocb

Otherwise, see instructions to install at https://opentelemetry.io/docs/collector/custom-collector/#step-1---install-the-builder

To add new components, you can modify the builder-config.yaml file. Add the component to the correct section and then run the following command.

make build-ocb

This command should add the new dependencies and code in the correct places. You can build the agent afterwards with go build to confirm.

Afterwards, you should add the new component to the Components section below.

Running

To start the observe agent after building the binary run the following command.

./observe-agent start

Components

Current OTEL Collector Version: v0.110.0

This section lists the components that are included in the Observe Distribution of the OpenTelemetry Collector.

Receivers Processors Exporters Extensions Connectors
awsecscontainermetrics attributes debug file_storage count
docker_stats batch file health_check forward
elasticsearch deltatocumulative otlphttp zpages
filelog filter prometheusremotewrite
filestats k8sattributes
hostmetrics memory_limiter
iis observek8sattributes
journald probabilisticsampler
k8s_cluster redaction
k8sobjects resource
kafkametrics resourcedetection
kafka span
kubeletstats tailsampling
mongodb transform
otlp
prometheus
redis
statsd
tcplog
udplog
windowseventlog