Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tracing

tracing overrides the global [trace_storage] policy for one channel. Each field is independently optional; an unset field falls back to the global value.

Synopsis

{
  "tracing": { "mode": "async", "errors_only": true, "task_details": true }
}

Fields

FieldTypeRequiredDefaultDescription
modestringnoglobal trace_storage.modesync, async, batch, or off.
sample_ratenumbernoglobal trace_storage.sample_rateFraction of traces persisted, 0.01.0. Applies to sync traces only; async traces always persist.
errors_onlybooleannoglobal trace_storage.errors_onlyPersist only traces that ended with errors.
task_detailsbooleannofalseCapture a per-task execution trace into task_trace_json. No global setting exists — this is per-channel only.

Note

Each task_details trace grows with message size times task count. Enable it for debugging, not as a default. The recorded shape is specified under the trace object.

Last verified 14 September 2026