mz_repr::explain

Module tracing

Source
Expand description

Tracing utilities for explainable plans.

Structs§

  • A helper struct for wrapping entries that represent the invocation context of a function or method call into an object that renders as their hash.
  • ExtractStr 🔒
    Helper struct that implements field::Visit and is used in the GetStr::get_str implementation for span::Attributes.
  • A tracing layer used to accumulate a sequence of explainable plans.
  • A struct created as a reflection of a trace_plan call.

Traits§

  • GetStr 🔒
    Helper trait used to extract attributes of type &'static str.

Functions§

  • Create a span identified by segment and trace misc in it.
  • Create a span identified by segment and trace plan in it.
  • Trace a fragment of type T to be emitted as part of an EXPLAIN OPTIMIZER TRACE output.