Extension point for exporters and custom sinks. Hooks run synchronously; errors thrown by a plugin are caught and reported once, never propagated into the tracked code.
Optional
Optional name used in error messages
A top-level call finished; root holds the whole tree
root
A tracked call started (runs inside the caller's async context)
Run the tracked code inside something (e.g. an active OpenTelemetry span). Must call run exactly once and return its result.
run
Extension point for exporters and custom sinks. Hooks run synchronously; errors thrown by a plugin are caught and reported once, never propagated into the tracked code.