Public documentation
Documentation indexRead as MarkdownCommon connection and identity settings
Use these settings across the setup guides. First prove delivery with the quick start, then introduce your real instrumentation.
Choose the path
| Producer | Typical destination | Authentication |
|---|---|---|
| Application on the Collector host | http://127.0.0.1:4318 for OTLP/HTTP |
Local example receiver has no authentication; restrict its reachability. |
| Application in another container or pod | Private Collector service address | Follow the deployment's receiver authentication and TLS policy. |
| Backend exporting directly to Corridora | Your supplied HTTPS ingest base URL | X-CORRIDORA-KEY with an active ingest key. |
| Browser | Endpoint in the generated RUM tag | Dedicated browser RUM key and browser CORS/CSP setup. |
Port 4318 is the usual Collector HTTP receiver; 4317 is its gRPC receiver. These are not a promise that your public Corridora deployment exposes both ports. The examples export from the Collector to Corridora over HTTPS using OTLP/HTTP.
An exporter configured with an OTLP base URL normally adds /v1/traces, /v1/metrics, or /v1/logs. A signal-specific HTTP endpoint usually needs the complete path. Follow the language example: not all SDKs read every environment variable automatically.
Configure a Collector
Use the complete Collector guide and configuration. Set these variables on the Collector process or container:
export CORRIDORA_OTLP_ENDPOINT='https://YOUR_INGEST_HOST'
export CORRIDORA_INGEST_KEY="$(python3 -c 'import getpass; print(getpass.getpass("Ingest key: "))')"
These names are variables referenced by our Collector YAML, not standard OpenTelemetry SDK settings. Your application should point to the Collector using its SDK settings instead. Keep the Corridora key on the Collector when applications do not need direct export.
Configure an application
For SDKs that support standard environment configuration, a local HTTP exporter can use:
export OTEL_SERVICE_NAME='checkout-api'
export OTEL_RESOURCE_ATTRIBUTES='service.namespace=commerce,service.version=1.0.0,deployment.environment.name=staging'
export OTEL_EXPORTER_OTLP_ENDPOINT='http://127.0.0.1:4318'
export OTEL_EXPORTER_OTLP_PROTOCOL='http/protobuf'
Install and initialize the SDK and the required exporter first. These variables alone do not instrument a process. Log and metric pipelines may require separate initialization, bridges, or exporter choices.
For a supported direct backend exporter, replace the endpoint and add the ingest header:
export OTEL_EXPORTER_OTLP_ENDPOINT="$CORRIDORA_OTLP_ENDPOINT"
export OTEL_EXPORTER_OTLP_HEADERS="X-CORRIDORA-KEY=${CORRIDORA_INGEST_KEY}"
If your SDK requires constructor options, pass the same URL, protocol, and header there. Signal-specific endpoint or header variables can override shared settings. After a migration, remove stale overrides and restart the producer.
Keep identity consistent
Use a stable service.name for each application. Store release information in service.version, and environment in deployment.environment.name. An ingest-key label does not set service identity. A gateway carrying several applications should preserve their identities.
Service metrics collected from a database or host may lack an application service name. Give that scraper pipeline a recognizable resource identity, such as postgres-orders or node-metrics, without changing application telemetry passing through another pipeline.
Projects group configured services inside an organization. They do not need a special telemetry header and are not automatically created by a resource attribute. See core concepts.
Add a service receiver without replacing your pipelines
The service guides give configuration fragments. Merge them into the Collector configuration; do not paste a second top-level receivers or service mapping into the same YAML file.
- Add the named receiver to the existing
receiversmapping. - Add any service-specific processor under
processors. - Add the guide's
metrics/<name>orlogs/<name>pipeline alongside the existing pipelines. - Retain the original OTLP trace/log/metric pipelines if applications use them.
- Validate with the same Collector release used at runtime, then restart and inspect startup logs.
The baseline component IDs are memory_limiter, batch, and otlp_http/corridora. Defining a receiver without including it in a pipeline does not enable collection. A separate pipeline keeps scraper-specific identity changes from relabeling unrelated data.
Use Contrib for receivers not included in the core Collector. A receiver present in Contrib may still have upstream alpha or beta status, require credentials, or support only specific server versions.
Collection boundaries
Application client instrumentation records the application's database, cache, or messaging calls. A service scraper records service state and counters. Neither guarantees a span for work inside an uninstrumented database or broker.
Configure content capture deliberately. Database statements, message bodies, HTTP headers, and application logs can contain sensitive data. Use synthetic records during initial verification and inspect actual payloads before enabling broader capture.
Continue with verification, language setup, or service setup.