OpenInference Instrumentor
Use any OpenInference instrumentor with Respan.
OpenInferenceInstrumentor is a generic wrapper that adapts any OpenInference instrumentor to Respan’s plugin protocol. This lets you use the full OpenInference ecosystem (30+ instrumentors) with Respan.
Install
Then install the specific OpenInference instrumentor you need:
Usage
How it works
- The wrapper calls
instrumentor.instrument()which patches the target library - OpenInference spans are emitted via OpenTelemetry
- Respan’s composite processor auto-enriches OpenInference attributes into Traceloop/GenAI equivalents
- Spans appear in Respan with full model, tokens, input/output data
Supported instrumentors
See the full OpenInference list — any instrumentor that follows the OpenInference protocol works with this wrapper.