Capabilities

Usage analytics

Roder records local usage analytics into a SQLite projection under the Roder data directory. The raw JSONL event stream remains the audit source; analytics make token spend, tool popularity, latency percentiles, errors, and session summaries queryable.

Privacy defaults

  • Recorded: provider/model ids, tool names, timestamps, durations, token counts, statuses, and bounded error classes.
  • Not recorded: prompt bodies, assistant text, tool output bodies, command payloads, API keys, bearer tokens, or environment secrets.
  • Workspace labels can be stored as full paths, hashes, or basenames.
[analytics]
enabled = true
workspace_labels = "full_path"
retention_days = 0

CLI

roder stats backfill
roder stats summary --since 7d --json
roder stats tools --sort p95
roder stats tokens --group day
roder stats export --format jsonl --output usage-export.jsonl

App-server methods mirror the CLI through stats/summary,stats/tools, stats/tokens, stats/sessions,stats/backfill, and stats/export, with server-side row caps.