Home

Awesome


<p align="center"> <strong> <a href="#getting-started">Getting Started</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="CONTRIBUTING.md">Getting Involved</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="docs/signalfx-smart-agent-migration.md">Migrating from Smart Agent</a> </strong> </p> <p align="center"> <a href="https://goreportcard.com/report/github.com/signalfx/splunk-otel-collector"> <img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/signalfx/splunk-otel-collector?style=for-the-badge"> </a> <a href="https://github.com/signalfx/splunk-otel-collector/actions/workflows/build-and-test.yml?query=branch%3Amain"> <img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/signalfx/splunk-otel-collector/build-and-test.yml?branch=main&style=for-the-badge"> </a> <a href="https://github.com/signalfx/splunk-otel-collector/releases"> <img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/signalfx/splunk-otel-collector?include_prereleases&style=for-the-badge"> </a> </p> <p align="center"> <strong> <a href="docs/architecture.md">Architecture</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="docs/components.md">Components</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="https://docs.splunk.com/observability/en/gdi/opentelemetry/opentelemetry.html#otel-monitoring">Monitoring</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="https://docs.splunk.com/Observability/gdi/opentelemetry/security.html">Security</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="https://docs.splunk.com/Observability/gdi/opentelemetry/sizing.html">Sizing</a> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <a href="docs/troubleshooting.md">Troubleshooting</a> </strong> </p>
<!--PRODUCT_DOCS-->

Splunk OpenTelemetry Collector

Splunk OpenTelemetry Collector is a distribution of the OpenTelemetry Collector. It provides a unified way to receive, process, and export metric, trace, and log data for Splunk Observability Cloud:

While it is recommended to use Splunk Forwarders to send data to Splunk Cloud or Splunk Enterprise, Splunk OpenTelemetry Collector can be configured to send data to them via the splunk_hec exporter.

Current Status

Getting Started

The following resources are available:

All you need to get started is:

This distribution is supported on and packaged for a variety of platforms including:

You can consult additional use cases in the examples directory.

Advanced Configuration

A variety of default configuration files are provided:

In addition, the following components can be configured:

The Splunk OpenTelemetry Collector provides a sensitive value-redacting, local config server listening at http://localhost:55554/debug/configz/effective that is helpful in troubleshooting. To enable this feature please set the SPLUNK_DEBUG_CONFIG_SERVER environment variable to true. To set the desired port to listen to configure the SPLUNK_DEBUG_CONFIG_SERVER_PORT environment variable.

You can use the environment variable SPLUNK_LISTEN_INTERFACE and associated installer option to configure the network interface on which the collector's receivers and telemetry endpoints will listen. The default value of SPLUNK_LISTEN_INTERFACE is set to 127.0.0.1 for the default agent configuration and 0.0.0.0 otherwise.

Upgrade guidelines

The following changes need to be done to configuration files for Splunk OTel Collector for specific version upgrades. We provide automated scripts included in the bundle that cover backward compatibility on the fly, but configuration files will not be overridden, so you need to update them manually before the backward compatibility is dropped. For every configuration update use the default agent config as a reference.

From 0.96.1 to 0.97.0

From 0.68.0 to 0.69.0

From 0.41.0 to 0.42.0

From 0.35.0 to 0.36.0

From 0.34.0 to 0.35.0

Using Upstream OpenTelemetry Collector

It is possible to use the upstream OpenTelemetry Collector instead of this distribution. The following features are not available upstream at this time:

:warning: Splunk only provides best-effort support for upstream OpenTelemetry

In order to use the upstream OpenTelemetry Collector:

An example configuration for upstream, that ensures infrastructure correlation is properly configured, is available here.

<!--PRODUCT_DOCS-->

License

Apache Software License version 2.0.

ℹ️  SignalFx was acquired by Splunk in October 2019. See Splunk SignalFx for more information.