trace, context, and SpanStatusCode from OpenTelemetry so you can create custom spans after registration without pulling them from another package.
For most use cases, prefer the @arizeai/openinference-core helpers (withSpan, traceChain, traceAgent, traceTool) over raw startActiveSpan. They automatically set the correct OpenInference span kind, handle errors, and close the span for you.
Relevant Source Files
src/index.ts
Recommended — OpenInference Helpers
Raw OpenTelemetry Spans
Use raw spans when you need full control over attributes and timing:Source Map
src/index.tssrc/register.ts

