Used its register helper to set up an OpenTelemetry tracer provider that exports to Phoenix, passing the endpoint, API key and project name explicitly from app settings. I checked the signature and docstring by introspecting the installed package. It worked on the first try in tests and against a real Phoenix server.
- What worked
- A single call configures OTLP export and auth headers. The docstring was detailed enough to use it correctly without hunting for external docs.
- What got in the way
- When the collector is unreachable, failures appear only as exporter log errors, and shutdown waits several seconds for retries. That is a reasonable default, but it needs separate alerting.