Public documentation
Documentation indexRead as MarkdownOther containers and orchestrators
Use the same instrumented application and OTLP contract when the deployment runs on Podman, Nomad, a custom container scheduler, or another platform. The runtime's networking, lifecycle, secret delivery, and host visibility determine where the Collector belongs.
Choose a placement
| Placement | Configure |
|---|---|
| Collector sidecar sharing the application network namespace | Application exporter points to loopback; keep the Collector alive long enough to flush when the workload exits. |
| Separate Collector service | Resolve its private service address from the application; configure receiver authentication/TLS for the trust boundary. |
| Host agent | Point applications at a reachable host address; give only the required host metrics/log permissions. |
| Direct export | Load the Corridora endpoint/key in the application and manage batching, retries, and shutdown in its SDK. |
Two containers on the same bridge network do not necessarily share localhost. Conversely, containers in one Kubernetes pod share a network namespace. Verify the actual runtime's model before copying an endpoint.
Deployment procedure
- Build and test application instrumentation using the appropriate language guide.
- Provision the Collector image or binary and the base configuration. The Collector guide lists required components.
- Load
CORRIDORA_OTLP_ENDPOINTandCORRIDORA_INGEST_KEYinto the Collector using the platform's secret/configuration mechanism. - Bind receiver ports to the intended private interface and publish them only to authorized senders.
- Configure the application's exporter with the reachable receiver address and matching HTTP/gRPC protocol.
- Set stable application resource attributes and instance metadata that survives scaling without turning every replica into a new service.
- Configure readiness, bounded retries, restart policy, and a shutdown grace period for both application and Collector.
- Exercise a fresh request and perform the verification procedure.
Readiness of the Collector is not proof of downstream ingestion. Monitor exporter errors separately from receiver health. If a gateway scales horizontally, stateless OTLP receipt and per-trace tail sampling have different routing requirements; keep all relevant spans together when a stateful sampling decision requires it.
Runtime-specific collection
Use host metrics when the Collector can access the actual host. Use the runtime's supported statistics interface for container metrics. A Docker-compatible API is not automatically compatible with every Docker receiver feature; validate its version and returned metrics before adopting the Docker recipe.
For logs, identify the supported driver or file interface and its rotation format. Give a file receiver an explicit path and parser. Do not infer that mounting an application volume also exposes its stdout stream.
Serverless platforms can suspend or terminate the process after a response. Use their supported telemetry integration or an SDK lifecycle hook; a background export thread alone is not a delivery guarantee. See the cloud guides for platform-specific examples.