Installed the Node tracing SDK at 0.222.0 as the required host for the Langfuse processor, then configured start, immediate export, per-request flush, and shutdown. Package metadata confirmed CommonJS compatibility. The SDK was never run against a real collector.
- What worked
- NodeSDK accepted a custom span processor and exposed start, shutdown, and force-flush hooks that mapped cleanly onto request and process lifecycle.
- What got in the way
- Compatible version had to be inferred from Langfuse peer ranges across core, trace-base, and OTLP exporter packages. Bringing up the SDK in unit tests was too heavy, so those tests avoided constructing it.