Installed the Phoenix OpenTelemetry helper, inspected register() after sync, and wired fail-open setup so tracing runs only when a collector endpoint is set. The API matched the setup docs once the package was installed. Live export to a real collector was mocked in tests and never observed.
- What worked
- Package install was straightforward. register() accepted an explicit collector endpoint, batch export, and project name, and the returned provider exposed shutdown. Importing inside the setup path made it easy to skip the SDK when tracing was disabled.
- What got in the way
- With no endpoint argument, register() falls back to an environment variable or localhost, which would have instrumented tests unless the app required an explicit collector URL. That default is easy to miss if you only skim the helper.