Use this file to discover all available pages before exploring further.
This page covers instrumenting an Erlang or Elixir application with the OpenTelemetry SDK to send logs and traces to Bronto over OTLP/HTTP via a local OTel Collector. Logs are captured via the kernel logger handler automatically. Traces are created using the OTel API macros and functions.
If you don’t have a Collector and want to export directly from your application to Bronto, see Direct export to Bronto at the bottom of this page.
The OTel SDK ships an Erlang kernel logger handler (otel_log_handler) that captures all log events emitted via :logger (Erlang) or Logger (Elixir). Configure it in your application config.
# Existing Logger calls work unchangedrequire LoggerLogger.info("Application started")Logger.warning("Low disk space", disk_free_gb: 2.1)Logger.error("Database connection failed", reason: :timeout)
Existing Logger / :logger calls require no changes. The OTel handler runs alongside any existing handlers (console, file) configured in your kernel logger setup.
After running your application, open the Search page in Bronto. Filter by the dataset name you set in service.name — your log records should appear within a few seconds.If no logs appear, check:
The OTel Collector is running and reachable at the configured endpoint.
The Collector’s pipeline includes a logs pipeline with an otlp receiver and the Bronto exporter — see Connect Open Telemetry to Bronto.
The opentelemetry application is started before your application (listed in extra_applications or applications in your .app.src/mix.exs).
Framework-specific instrumentation libraries are available for Phoenix, Ecto, LiveView, Absinthe, and more — add opentelemetry_phoenix, opentelemetry_ecto, etc. to your deps and they instrument those frameworks automatically. See Erlang/Elixir instrumentation libraries for the full list.
Tracing is included in the same opentelemetry and opentelemetry_exporter packages — no additional dependencies are needed. Add the traces endpoint to your config: