How Tracing Works
- Beacon generates a trace ID for each user session
- This ID is passed in headers to your backend
- Your backend logs include the same trace ID
- You can follow a request from frontend to backend
Enabling Tracing
Trace Context
The SDK automatically adds trace headers to fetch requests:Manual Spans
Create spans for important operations:Backend Integration
Pass trace context to your backend:Viewing Traces
In Dashboard > Beacon > Traces:- See the full request timeline
- Identify slow spans
- Find errors in the trace
- View span details and metadata