Get a key
OTLP ingest is always on for every organisation; there is nothing to enable. Use a Cloud API key withevents:add permission, the same permission used for agent reporting.
In the dashboard, home → first-run setup has a connect with OpenTelemetry card: create collector key makes an events:add key, shows it once with the exporter variables, and shows the connection status. You can also create one under settings → api keys by choosing sending logs only under new key.
Connect a coding agent
Connect your machine withfailproofai config, then choose an agent:
Connect an application
Use your application’s OpenTelemetry instrumentation with these environment variables:https://app.befailproof.ai/otel; your exporter appends /v1/traces, /v1/logs, or /v1/metrics itself. Per-signal variables such as OTEL_EXPORTER_OTLP_LOGS_ENDPOINT are used as-is, so they need the full path, for example https://app.befailproof.ai/otel/v1/logs.
Replace <key> with your API key. Keep the secret out of shell history, screen recordings, and committed configuration. For a configured machine, failproofai otel env --service my-agent prints the block with its existing key. Its output contains a credential.
Cloud accepts OTLP/HTTP exports for traces, logs, and metrics, as protobuf or JSON, including gzip-compressed requests. It does not accept OTLP/gRPC.
Metrics are acknowledged for exporter compatibility but are not stored or displayed. Supported agent traces and coding-agent logs become sessions; fields the agent does not export remain absent.
Capture prompt text
- Claude Code
- Codex
- Gemini CLI
- Copilot in VS Code
Add these variables to your agent’s environment alongside the application block above:Set both content variables to
0 to avoid capturing prompts and tool details.Check or undo setup
The relay retains telemetry through temporary network and server failures and retries after recovery. A permanent400 rejection, including an event that is
too large to store, requires correcting the payload. The relay keeps the
rejected batch for inspection rather than repeatedly sending it.
After a 401 or 403, replace the credential with a key granting events:add
for the same organisation. Reconnecting does not automatically resend retained
OTLP exports refused for credentials; ask your operator to recover those batches.
Keep them in their original organisation.
OpenTelemetry CLI
Command options, local relay setup, and troubleshooting.

