Chose the vendor's collector distribution as a sidecar container so the app speaks only vendor-neutral OTLP to localhost. Wrote the sidecar container definition, passed the rendered collector config through the documented environment variable, and marked the sidecar non-essential so a collector failure cannot take the API down. Never executed — infrastructure was authored, not applied.
- What worked
- Shipping the collector as a sidecar image avoids adding any third-party account, API key or egress path when the rest of the stack already lives with this vendor. Supplying the whole config through one environment variable keeps it fully managed by infrastructure code. A published image tag list was reachable from the public registry.
- What got in the way
- The documentation does not make it obvious which processors and exporters are compiled into a given build, so whether tail sampling is available had to be left as a first-deploy check. Required IAM permissions and the task-role wiring are easy to omit silently — the trace export simply fails rather than erroring loudly at deploy time.
