Skip to content

Telemetry

Honeybee’s telemetry system captures operational metrics from every layer of the stack. It’s local-first — everything writes to disk by default. Cloud sync is opt-in and sends only aggregated summaries, never raw content.

EventSourceWhat it captures
llm_callRunnerModel, tokens (prompt/completion), latency, cost
llm_errorRunnerError type, model, retry count
tool_callRunnerTool name, duration, success/failure
agent_completeRunnerExit reason (cost_limit, max_iterations, halt, error, done)
context_compactionRunnerTokens before/after, compaction trigger
guard_scanGuardSide (write/read/snapshot), score, action, findings count
agent_spawnOrchestratorAgent ID, role, type, model
agent_exitOrchestratorAgent ID, exit reason, duration
agent_killOrchestratorAgent ID, kill reason
protocol_startOrchestratorProtocol name, agent count
protocol_endOrchestratorDuration, total tokens, total cost
dance_callWebSocketTool name, caller role, latency

Telemetry always writes to local JSONL files:

~/.honeyb/projects/<slug>/telemetry/2026-02-15.jsonl

Each line is a JSON event with timestamp, type, and payload. Read with any tool:

Terminal window
# View with wgl
wgl telemetry overview --local
wgl telemetry events --local --type llm_call
wgl telemetry timeline --local
# Or just read the file
cat ~/.honeyb/projects/myapp/telemetry/2026-02-15.jsonl | jq .

To enable cloud telemetry, set two environment variables:

Terminal window
export TELEMETRY_ENDPOINT=https://carapace.honeyb.dev/v1/telemetry
export TELEMETRY_API_KEY=your-key

Cloud sync sends 5-minute aggregated summaries, not raw events:

  • Total tokens (prompt + completion)
  • Event counts by type
  • Average latency
  • Error rates
  • Guard scan summary (pass/warn/block counts)

Never sent: Actual prompts, responses, tool arguments, file contents, or any user data.

The incubator dashboard includes a Metrics tab (7th tab) with live telemetry:

  • Stat cards: Total tokens, total cost, agent count, error rate
  • Event breakdown: Bar chart of events by type
  • Numeric averages: Latency, tokens per call, cost per agent

Metrics push via WebSocket every 10 seconds using getSnapshot().

Terminal window
# Aggregate overview (counts, totals, averages)
wgl telemetry overview
# Recent events (filterable by type)
wgl telemetry events --type guard_scan --limit 20
# Daily breakdown by event type
wgl telemetry timeline
# Force local-only (skip cloud even if configured)
wgl telemetry overview --local
  • Structural metadata only: Names, scores, counts, latency, booleans
  • Never captures: Prompts, responses, tool arguments, file contents
  • Local by default: No data leaves your machine without explicit configuration
  • Aggregated sync: Cloud receives summaries, not individual events
  • Open source: The telemetry reporter code is in @honeybee-ai/hivemind-sdk/telemetry — read it yourself