Configure OTEL observability — starts the local Arth Intelligence Docker stack (or points at a remote endpoint) and writes the env vars.
/otel-setup
/otel-setup
What you’ll see: a check of your current config, then two questions — where to send traces (Cloud / Local / Custom), and how much telemetry to collect (Native-only vs Full, see below) — after which the skill writes the env vars (globally by default, so every project on the machine emits telemetry), starts the local Docker stack if you chose Local, and verifies end-to-end by sending a test span. Restart your Claude Code session and your activity appears on the dashboard.
No toolkit? The same setup ships in the Arth CLI as
arth otel-setup. Install the Arth CLI first — it’s gated by your GitHub repo access (no public package).
/otel-setup # the only form — the skill takes no arguments
Typical runs:
.claude/settings.local.json and classifies it: not configured (full setup), fully configured (offers to reconfigure or just re-verify), or partially configured — the silent-failure case, where it shows exactly which keys are missing and offers repair-in-place, full reconfigure, or cancel — a user-confirmation checkpoint.ingest.getarth.ai; the dashboard itself lives at app.getarth.ai, where you also get your Arth project key)~/.arthai/docker-compose.yml (Postgres + the Arth Intelligence engine + a watchtower auto-updater, all with restart: unless-stopped), starts it, and waits for the engine health check~/.claude/settings.json so every project on the machine emits it, including non-toolkit repos and sessions launched outside a shell.otel-telemetry hook: skill/agent attribution (skill names, lines edited), experiment auto-tags, a richer agent DAG. Choose this only if you’re running the toolkit in this repo and want that extra detail.~/.claude/settings.json by default (every project on the machine), so this normally isn’t asked. It only prompts for an override if you want this one repo pointed somewhere different, via <repo>/.claude/settings.local.json./otel-setup (and arth otel-setup) ask whether to enable the dashboard’s “Explain this session” AI summary — pick any provider (Anthropic, OpenAI, Gemini, Bedrock) including free local Ollama / LM Studio (LM Studio auto-detects the loaded model, e.g. qwen). It’s optional; telemetry works without it. The experimental Cloud Orchestrator (calibrate/plan a repo) is configured separately — run /cloud-setup (or arth cloud-setup); it’s Claude-only and needs a GitHub token + license./experiments page (default: on)..claude/.arth-otel.env that could silently divert spans (offering one-click reconciliation), sends a test span to the endpoint the hook will actually use, and checks your existing containers will auto-restart after a reboot (offering a one-line migration if not).~/.arthai/otel-configured marker so you aren’t re-prompted, and tells you to restart your Claude Code session so traces start flowing.~/.claude/settings.json (global, recommended and the default) or <repo>/.claude/settings.local.json (project-only override)~/.arthai/docker-compose.yml plus running containers — engine on port 4319, dashboard at http://localhost:3100, data persisted in the arthai_data Docker volume.claude/.arth-otel.env if a divergent one existed~/.arthai/otel-configureddocker compose -f ~/.arthai/docker-compose.yml images against Docker Hub’s :latest. See Arth Intelligence → Am I on the latest version?| Problem | Fix |
|---|---|
/otel-setup requires jq |
brew install jq (macOS) or apt-get install jq (Linux), then re-run |
Docker is not running |
Start Docker Desktop and re-run /otel-setup |
Arth Intelligence failed to start |
docker compose -f ~/.arthai/docker-compose.yml logs to see why |
| Sessions appear but cost columns are empty | The partial-config silent failure — re-run /otel-setup and choose Repair in place; verification confirms all six keys |
415 Unsupported Media Type during verify |
Protocol mismatch — the repair path rewrites the protocol key; also check .claude/.arth-otel.env for a stale value |
DIVERGENCE DETECTED between config sources |
Accept the offered reconciliation — it rewrites .arth-otel.env to match settings.local.json |
| Endpoint unreachable in the smoke test | Local: start the engine (docker compose -f ~/.arthai/docker-compose.yml up -d); remote: check connectivity and the endpoint URL |
| Dashboard dark after a Mac reboot | Legacy compose file without restart policies — run the printed docker update --restart unless-stopped ... one-liner |
“Explain this session” shows “needs an LLM key — run /cloud-setup“ |
No LLM key configured. Run /cloud-setup (or arth cloud-setup), opt into Explain, and provide a key — it’s saved to ~/.arthai/.env and survives image updates. Free option: local Ollama. |
Never run docker compose -f ~/.arthai/docker-compose.yml down -v — the -v erases all session data. Plain down is safe; updates are automatic via watchtower.