Skip to content

feat: suggest --json in bt view trace text output#179

Merged
Cedric / ViaDézo1er (viadezo1er) merged 2 commits into
mainfrom
cedric/improve-traces-hint-for-agents
May 14, 2026
Merged

feat: suggest --json in bt view trace text output#179
Cedric / ViaDézo1er (viadezo1er) merged 2 commits into
mainfrom
cedric/improve-traces-hint-for-agents

Conversation

@viadezo1er
Copy link
Copy Markdown
Contributor

@viadezo1er Cedric / ViaDézo1er (viadezo1er) commented May 13, 2026

The non-JSON text output of bt view trace only hinted at bt view span --id <row-id> for full data, which requires N per-span calls. Agents running bt view trace to analyze a trace would either fan out N requests or pivot to the web UI's CSV export. Add a hint pointing at --json so the full trace payload is reachable in one copy-pasteable command, alongside the existing next-page hint.

Fix #178

The non-JSON text output of `bt view trace` only hinted at `bt view span
--id <row-id>` for full data, which requires N per-span calls. Agents
running `bt view trace` to analyze a trace would either fan out N
requests or pivot to the web UI's CSV export. Add a hint pointing at
`--json` so the full trace payload is reachable in one copy-pasteable
command, alongside the existing next-page hint.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Latest downloadable build artifacts for this PR commit e2487996ed1e:

Available artifact names
  • ``artifacts-build-global
  • ``artifacts-build-local-x86_64-apple-darwin
  • ``artifacts-build-local-x86_64-pc-windows-msvc
  • ``artifacts-build-local-aarch64-pc-windows-msvc
  • ``artifacts-build-local-x86_64-unknown-linux-musl
  • ``artifacts-build-local-x86_64-unknown-linux-gnu
  • ``artifacts-build-local-aarch64-apple-darwin
  • ``artifacts-build-local-aarch64-unknown-linux-gnu
  • ``artifacts-plan-dist-manifest
  • ``cargo-dist-cache

The two adjacent hint lines were redundant noise. Merge into one
sentence that offers both options.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@viadezo1er Cedric / ViaDézo1er (viadezo1er) merged commit 80bc84e into main May 14, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agents downloading traces as csv

2 participants