AWS Open Distro for OpenTelemetry

Splunk - SAPM and SignalFx Exporters

Splunk - SAPM and SignalFx Exporters

SAPM Exporter

The sapm exporter exports traces to Splunk APM using the SAPM protocol.

Configuring SAPM Exporter

The following configuration options are required.

access_token

The authentication token provided by Splunk or another backend that supports the SAPM protocol. The Splunk access token can be obtained from the web app. For details on how to do so please refer the documentation here.

endpoint

This is the destination to where traces will be sent to in SAPM format. It must be a full URL and include the scheme, port and path e.g, https://ingest.us0.signalfx.com/v2/trace. This can be pointed to the Splunk backend or to another Otel collector that has the SAPM receiver enabled.

The following configuration options can also be configured.

max_connections

default: 100

The maximum idle HTTP connection the exporter can keep open.

num_workers

default: 8

The number of workers that should be used to export traces. Exporter can make as many requests in parallel as the number of workers. Note that this will likely be removed in future in favour of processors handling parallel exporting.

access_token_passthrough

default: true

Whether to use "com.splunk.signalfx.access_token" trace resource attribute, if any, as Splunk access token. In either case this attribute will be deleted during final translation.

timeout

default: 5s

Timeout for every attempt to send data to the specified endpoint.

Example Configuration

exporters:
sapm:
access_token: YOUR_ACCESS_TOKEN
access_token_passthrough: true
endpoint: https://ingest.YOUR_SIGNALFX_REALM.signalfx.com/v2/trace
max_connections: 100
num_workers: 8

This exporter also offers proxy support as documented here.

SignalFx Exporter

The signalfx exporter exports metrics, events and trace correlation to Splunk Infrastrcuture Monitoring.

Configuring SignalFx Exporter

Here is a simple configuration for exporting metrics using the signalfx exporter.

exporters:
signalfx:
access_token: YOUR_TOKEN
realm: us0

The realm configuration option determines the destination to which data will be sent. The access token can be obtained from the Splunk Infrastructure Monitoring web. For details on how to do so please refer the documentation here.

To send metrics compatible to the ones emitted by the SignalFx Agent, set the send_compatible_metrics to true. Also, ensure translation_rules are not explicitly specified, if not, the defaults will not be used. Here is an example to exporter compatible metrics from the hostmetrics receiver.

receivers:
hostmetrics:
collection_interval: 10s
cpu:
memory:
network:
disk:
exporters:
signalfx:
access_token: YOUR_TOKEN
realm: us0
send_compatible_metrics: true

For more details on all configuration options refer to the open-telemetry GitHub repository.