TracekitTracekit
Elixir

Phoenix Observability with TraceKit

TraceKit works with any OpenTelemetry-compatible application -- including Phoenix. Point your Elixir OTel SDK at TraceKit's OTLP endpoint and get distributed tracing, session replay, and alerts without a language-specific SDK.

Why Phoenix Needs Better Observability

Common debugging challenges that traditional monitoring tools miss.

LiveView Process Tracing

Each LiveView is a separate GenServer process with its own lifecycle. When a user interaction triggers a chain of handle_event callbacks across multiple LiveView processes, tracing the full request path requires visibility into the BEAM process tree. OpenTelemetry with TraceKit traces across process boundaries so you see the complete interaction flow.

PubSub Event Propagation

Phoenix.PubSub broadcasts are invisible to most monitoring tools. A single broadcast can trigger handlers in dozens of subscriber processes, and when one subscriber is slow, it is nearly impossible to trace back to the originating event. TraceKit captures PubSub event propagation so you can see which broadcast caused which subscriber to slow down.

Ecto N+1 Query Detection

Ecto's explicit preloading is better than lazy loading -- but developers still miss preloads, especially in LiveView assigns where data access patterns change as the UI evolves. TraceKit highlights every Ecto query in the trace so missing preloads and N+1 patterns are immediately visible.

Get Started in Minutes

Add TraceKit to your Phoenix project with a few lines of code.

phoenix-setup.exelixir
# mix.exs - add dependencies
{:opentelemetry, "~> 1.3"},
{:opentelemetry_exporter, "~> 1.6"},
{:opentelemetry_phoenix, "~> 1.1"},
{:opentelemetry_ecto, "~> 1.1"},

# config/runtime.exs
config :opentelemetry,
  span_processor: :batch,
  traces_exporter: {:otlp,
    endpoint: "https://otel.tracekit.dev:4318"}

config :opentelemetry_phoenix, :enabled, true

What You Get with TraceKit

Everything you need to monitor Phoenix in production.

Distributed Tracing

Trace requests across Phoenix endpoints, LiveView processes, Ecto queries, and PubSub broadcasts. Full visibility into your BEAM application's request lifecycle via OpenTelemetry.

Live Code Monitoring

Monitor your Phoenix application in real time. See request patterns, slow queries, and process bottlenecks as they happen -- with TraceKit's dashboard and alerting.

Simple Pricing

$29/month flat for your entire Elixir application. No per-node fees, no per-process charges -- one price whether you run one BEAM instance or twenty.

Ready to debug Phoenix in production?

Start free and see distributed traces, live breakpoints, and error tracking in minutes -- no credit card required.