Remote tracing with Redis
By default, workers don’t generate trace files in production. Local tracing writes to disk, which works in development but isn’t practical when your worker runs in a container that gets replaced on every deploy. Remote tracing solves this. The worker streams trace events to Redis as workflows execute. When a run completes, the trace is assembled and optionally uploaded to S3 as a JSON file. You can then pull traces via the API or CLI to debug failures without SSH access to your worker.What you need
- A Redis instance accessible from your worker. Most hosting providers offer managed Redis — check your provider’s add-on marketplace or database options.
- An S3 bucket (optional) if you want traces persisted beyond Redis TTL. Any S3-compatible storage works.
Worker environment variables
Add these to your worker service’s environment:The API service does not need Redis configuration. Only the worker streams trace events.
Verifying it works
- Deploy the worker with the new environment variables
- Run a workflow through the API
- Check that traces appear:
OUTPUT_REDIS_URL is reachable from the worker.