Scout Trails
Scout Trails records what your LLM coding agents do. Claude Code and Codex CLI send their built-in OpenTelemetry data to Scout Trails with a few lines of configuration — nothing to install — and the dashboard turns it into sessions, tool calls, cost and trends for your organization.
Get started
Get started takes you to the dashboard’s guided setup, which creates your ingest key and fills it into a setup prompt for your agent. It also covers setting an agent up by hand, with the settings and a copy-paste setup prompt for each agent.
For Claude Code, add these lines to your shell profile (~/.zshrc,
~/.bashrc), replacing <your-ingest-key> with your
ingest key, then start a new Claude Code session:
export CLAUDE_CODE_ENABLE_TELEMETRY=1
export OTEL_LOGS_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.scoutmonitoring.io:443
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <your-ingest-key>"
export OTEL_LOG_TOOL_DETAILS=1
export OTEL_METRICS_INCLUDE_REPOSITORY=1
Keep the double quotes around the OTEL_EXPORTER_OTLP_HEADERS value. Ask
Claude Code to run a tool, such as listing the files in a directory, and the
session appears under Sessions in the dashboard.
- Claude Code — the
~/.claude/settings.jsonvariant, team rollout and optional settings. - Codex CLI — the
[otel]block for~/.codex/config.toml. - MCP setup — let your agent query its own data.
- Core concepts — organizations, members, actors, sessions and tool calls.
Guides
- Dashboard — the overview page, filters and scope.
- Members — roles, invitations and teams.
- Actors — the senders of telemetry and their keys.
- Agents — setup, what data is collected and troubleshooting.
- API — read your organization’s data over HTTP with an API key.
- MCP — let an MCP client query Scout Trails (setup, tools).
- Security and data handling — what is stored, who can see it, encryption, retention and deletion.