@botmesh/otel), Datadog, Sentry or a test recorder.
Methods
startSpan()
Parameters
Returns
BotSpan
withSpan()?
fn with span active in the backend’s own context too, so the
backend’s auto-instrumentations (http, pg, undici…) nest under bot spans. Must call
fn synchronously and return its result unchanged.
Type Parameters
Parameters
Returns
T