Traces

Follow one request from start to finish

Every request or job gets a trace id. Its SQL queries (recorded automatically), the steps you wrap in a span — an API call, a PDF render — and its log lines line up in one waterfall, and every route gets a p50 and p95.

What you get

A waterfall per request

See which query or step took the time, nested under the request that made it. Wrap anything with span("name", fn) to add it.

Slowest routes, ranked

Each app lists its routes and jobs by p95, with call counts and failure counts.

Logs and metrics joined

Logs and metrics written during a request carry the same trace id, so the trace page shows them together.

Quote it in support

The client adds an X-Trace-Id header to responses, so a user reporting a bug can give you the exact request.

How it looks

spans | where root = true | p95(duration) by name | top 10

Questions

Does it work with OpenTelemetry?

Yes. Any OpenTelemetry SDK can send traces, logs and metrics to the OTLP/HTTP endpoint with the JSON encoding. The drop-in clients are a lighter option: they trace each request and, in Laravel, each SQL query and queued job; you add your own steps with span().

Does tracing slow my app down?

Spans are collected in memory and sent once at the end of the request, with a short timeout, and the client never throws into your code.

Can I trace queue jobs?

Yes, in Laravel: the client traces each queued job like a request, with its own trace id.

Also in Grafatsuki

Plant your first app in five minutes

Free to start. One link, one token — or one prompt for your coding agent.