Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> |
||
|---|---|---|
| .. | ||
| .goreleaser.yaml | ||
| Dockerfile | ||
| README.md | ||
| Windows.dockerfile | ||
| manifest.yaml | ||
| opentelemetry.ico | ||
| otelcol-otlp.conf | ||
| otelcol-otlp.service | ||
| postinstall.sh | ||
| preinstall.sh | ||
| preremove.sh | ||
| windows-installer.wxs | ||
README.md
OpenTelemetry Collector OTLP Distro
This distribution only contains the receiver and exporters for the OpenTelemetry Protocol (OTLP), including both gRPC and HTTP transport.
This distribution is useful for use cases such as TLS termination, proxying, batching, compression, protocol translation (e.g. using gRPC within your host but HTTP to communicate with external services) and other similar scenarios running as a sidecar.
Configuration
Unlike the Core and Contrib distributions, this distribution does not provide a default configuration file, and one will need to be created. The location of the config file is specified with the --config command line option.
-
For the .deb/.rpm systemd service packages, the command line options are set in
/etc/otelcol-otlp/otelcol-otlp.conf, and the default config path is/etc/otelcol-otlp/config.yaml. -
For the Windows installer, the command line options are set during the install process, and the default config path is
%ProgramW6432%\OpenTelemetry Collector\config.yaml. -
For the Docker images, the command line options are blank by default, and must be specified with a
CMDdirective.Example:
CMD ["--config", "/etc/otelcol-otlp/config.yaml"]
Components
The full list of components is available in the manifest
Rules for Component Inclusion
- Only
otlpreceiver,otlpexporter, andotlphttpexporterare allowed.