Skip to content

OpenTelemetry Configuration

Tracy uses OpenTelemetry to export traces to various observability backends. This section covers how to configure the SDK and choose where your traces are sent.

OpenTelemetry configuration in Tracy involves two main parts:

  1. SDK Configuration: Initialize the OpenTelemetry SDK using configureOpenTelemetrySdk(), which sets up the trace pipeline with batching, resource attributes, and export settings.

  2. Exporters: Choose where traces are sent — LLM-focused platforms (Langfuse, Weave), generic OTLP backends (Jaeger, Grafana Tempo), or local outputs (Console, File).