Public documentation
Documentation indexRead as MarkdownCorridora instrumentation
Read https://www.corridora.ai/llms.txt and follow the relevant Markdown references. Start with https://www.corridora.ai/docs/ai/instrumentation.md. Fetch only the runtime, connection, and verification guides needed for the project; the documentation outline includes planned topics, not a support guarantee.
Inspect and choose
Identify the runtime/framework versions, lockfile, actual deployment entrypoint, module format, worker lifecycle, current OTel providers/exporters, logger, and any Collector. Ask for missing destination, credential reference, service/environment/version, and intended signals while continuing independent local work. Preserve the user's selected destination and scope.
Extend existing providers and pipelines when present. Avoid duplicate SDK registration, Python wrapper plus manual setup, or auto instrumentation loaded after supported libraries. Merge Collector configuration into existing mappings and keep existing exports unless migration is requested. The tested Express and FastAPI recipes linked from the guide demonstrate all three backend signals; other language guides may cover traces only. Use a recipe matching the project's actual lifecycle rather than copying its entrypoint wholesale.
Connect
Read https://www.corridora.ai/docs/collect/setup/common.md and https://www.corridora.ai/docs/reference/ingest.md for the current contract.
- Direct backend export uses the supplied HTTPS ingest base URL and an ingest key in
X-CORRIDORA-KEY(or the documented Bearer alternative). Never infer the ingest hostname from the corporate or dashboard hostname. - For an existing Collector, point the SDK at its receiver and keep the Corridora key on the Collector when it owns export.
- Scope a shared Collector's new Corridora export to the intended services and receiving organization. Adding an exporter to a broad existing pipeline can forward other applications too; use the deployment's supported routing or a dedicated pipeline while retaining existing exports.
- Use environment variables or secret references; do not put actual keys into source, generated examples, or verification output. SDK support for standard
OTEL_*variables varies. Shared endpoints are base URLs; signal-specific HTTP endpoints normally include/v1/traces,/v1/logs, or/v1/metrics. Inspect overrides instead of blindly clearing them. - Keep service identity consistent across signals. Corridora projects group services; no special project header or resource attribute creates a project.
- Initialize before supported libraries, account for forking/worker startup, and integrate bounded flush/shutdown with existing lifecycle handling. Enable logs and metrics through their own pipelines; console output alone is not an OTLP log bridge.
- Browser RUM is a separate setup with a browser-visible RUM key. Keep backend/query/management credentials out of browser code. Coordinate existing browser OTel providers and verify exact-origin propagation/CORS with the RUM guide.
Prove the result
Add or use a local test that exercises an actual request/job, captures and decodes the application's OTLP output, and asserts the expected service, trace relationships, correlated log fields, and metric points for the enabled signals. Use synthetic data and local receivers for this test. Record compatible runtime/SDK versions and the command that passed.
Follow https://www.corridora.ai/docs/collect/setup/verification.md for final acceptance. Record a fresh workload's UTC time and trace ID, then inspect stored records in the intended Corridora organization. An HTTP success or local capture does not prove Corridora storage. A separate read-only query credential may support automated inspection through an available documented query tool; an ingest key cannot perform that check. If access is unavailable, report local export status and mark storage verification pending without inventing results.
Report the changed startup path, dependencies, secret-variable names, intended and verified signals, acceptance commands, and remaining deployment or storage checks. Do not treat a request to instrument code as authorization to deploy it or change unrelated external configuration.