Quickstart
Unified entry point for Respan tracing in TypeScript.
@respan/respan is the main package for Respan tracing. It provides the Respan class that initializes OpenTelemetry, auto-discovers installed instrumentation packages, and exposes decorators for structured traces.
Install
Quick start
When you omit the instrumentations option, Respan auto-discovers any installed @respan/instrumentation-* package and activates it — no manual imports required.
Explicit instrumentation (optional)
Pass instrumentations to pin a specific plugin. Providing this option disables auto-discovery — only the plugins you list are activated.
See initialize() for the full configuration reference.