Installed the TypeScript SDK, registered a tracer when a collector endpoint was set, and wrapped each report request as a parent span. Current releases pulled newer OpenTelemetry and instrumentation lines that did not line up with the app's existing model client, so older SDK lines had to be checked before pinning. Tests passed after explicit register options; live export was not observed.
- What worked
- register() plus helper spans were enough to add an adapter without building a tracer. Gating on an explicit collector endpoint kept tests and CI from hanging on a default localhost target.
- What got in the way
- Current SDK releases conflicted with the OpenAI instrumentation line that matched the installed model client. On startup the SDK walked the filesystem looking for a sibling env file unless discovery was turned off, which produced noisy warnings.