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:
-
SDK Configuration: Initialize the OpenTelemetry SDK using
configureOpenTelemetrySdk(), which sets up the trace pipeline with batching, resource attributes, and export settings. -
Exporters: Choose where traces are sent — LLM-focused platforms (Langfuse, Weave), generic OTLP backends (Jaeger, Grafana Tempo), or local outputs (Console, File).