Optionaloptions: SpanOptionsThe span the current async chain runs under (core context), if any.
Start a span, run fn inside it and end it when fn returns or its promise settles
(a throw/rejection sets status error and records the sanitized exception). Returns
fn's own value or promise — never a derived one.
Record a sanitized error on span (status error, error.type, exception event).
Apply the ids policy to an id (undefined under 'omit'). For plugins that tag their own spans.
Tracing facade of a bot (
bot.tracing), also used by plugins (@botmesh/ai). WithoutBotConfig.telemetryit is a no-op (enabled === false).