PHP Framework

Laravel Observability with TraceKit

Laravel's elegance hides complexity -- queued jobs run on separate workers, Eloquent can generate N+1 queries behind accessors, and event/listener chains can create invisible cascades. TraceKit traces it all. Also works with vanilla PHP and Symfony apps.

Laravel observability challenges

Common problems that Laravel developers face in production -- and how TraceKit solves them.

Queue Job Tracing Across Workers

Laravel queues dispatch jobs to separate worker processes, breaking trace continuity. A controller action that dispatches three jobs becomes invisible once they hit the queue. TraceKit propagates trace context through the queue so the entire flow is one trace.

Eloquent N+1 Query Detection

Eloquent makes it easy to trigger N+1 queries through accessors, appends, and relationship loading. TraceKit captures every Eloquent query in the trace, making N+1 patterns immediately visible -- even behind lazy-loaded relationships.

Event/Listener Chain Debugging

Laravel events can trigger chains of listeners, each potentially dispatching more events. When a listener fails or is slow, tracing the chain manually is painful. TraceKit instruments event dispatching so you see the full cascade.

Get started in minutes

Add OpenTelemetry instrumentation to your Laravel app with a few lines of code.

// config/tracekit.php (via Laravel service provider)
use OpenTelemetry\SDK\Trace\TracerProviderBuilder;
use OpenTelemetry\Contrib\Otlp\SpanExporter;

return [
    'service_name' => env('OTEL_SERVICE_NAME', 'my-laravel-app'),
    'exporter_endpoint' => env('OTEL_EXPORTER_OTLP_ENDPOINT'),
];

See the full PHP integration guide

PHP Distributed Tracing Guide

Go deeper with our PHP distributed tracing guide -- covering common pain points, production patterns, and code examples.

What you get with TraceKit

Distributed Tracing

Trace requests from Laravel routes through Eloquent queries, queued jobs, event listeners, and external API calls. Full PHP observability.

Live Code Monitoring

Set breakpoints in your Laravel controllers and jobs. Inspect Eloquent models, request data, and queue payloads in production without redeploying.

Simple Pricing

$29/month flat for your entire Laravel application. No per-worker fees for queue processing, no per-request charges -- one price for full observability.

Ready to add observability to Laravel?

Get started with TraceKit in under 5 minutes. $29/month flat -- no per-host fees, no surprises.