OpenTelemetry Erlang Configuration

Ship traces from Erlang to OpenSearch with OpenTelemetry

Use OpenTelemetry to easily send Erlang traces to your Logit.io Stack.

APM

Install Integration

Please click on the Install Integration button to configure your stack for this source.

Getting Started

You can get help Getting Started with OpenTelemetry for Erlang by referring to the official documentation (opens in a new tab).

You need to configure the OTLP exporter to ensure the trace data reaches your Logit.io Stack.

OTLP HTTP/S Exporter settings:

sys.config.src
%% config/sys.config.src
[
{opentelemetry,
  [{span_processor, batch},
  {traces_exporter, otlp}]},
 
{opentelemetry_exporter,
  [{otlp_protocol, http_protobuf},
  {otlp_headers, [{"authorization", "Basic @opentelemetry.base64encodedAuthString"}]}
  {otlp_endpoint, "https://@opentelemetry.endpointAddress:@opentelemetry.httpsPort"}]}]}
].

For more information about exporter configuration with Erlang please see the documentation (opens in a new tab).

Launch Logit.io to view your traces

Data should now have been sent to your Stack.

View My Data

If you don't see take a look at How to diagnose no data in Stack below for how to diagnose common issues.

How to diagnose no data in Stack

If you don't see data appearing in your stack after following this integration, take a look at the troubleshooting guide for steps to diagnose and resolve the problem or contact our support team and we'll be happy to assist.