Expand description
Render the tracing span trace as a compact breadcrumb.
The span trace carries the instrumented spans active when the error was created plus
their field values (request_id, course_id, …). Rendered root-first as
http_request{request_id=…} › send_message{course_id=…} for request context at a glance.
Structs§
- Span
Entry - One captured span reduced to its name and formatted fields.
Constants§
- MAX_
FIELDS_ 🔒LEN - Maximum length of a single span’s rendered field string before truncation.
- OUR_
TARGET_ 🔒PREFIX - Only include spans from our own instrumentation; runtime/library spans add noise.
Functions§
- breadcrumb
- Extract and render a span trace’s breadcrumb.
- extract_
spans - Extract our-instrumentation spans from a [
SpanTrace], ordered root-first. - render_
breadcrumb - Build the breadcrumb from root-first entries, or
Noneif there is nothing to show. - truncate 🔒