Attribute Macro mz_ore::instrument

source ·
#[instrument]
Expand description

Materialize wrapper around the #[tracing::insrument] macro.

We wrap the tracing::instrument macro to skip tracing all arguments by default, this prevents noisy or actively harmful things (e.g. the entire Catalog) from accidentally getting traced. If you would like to include a function’s argument in the traced span, you can use the fields(...) syntax.