Skip to content

feat(cli): Add trace:get CLI command#5380

Open
ssbushi wants to merge 1 commit into
mainfrom
sb/getTraceCli
Open

feat(cli): Add trace:get CLI command#5380
ssbushi wants to merge 1 commit into
mainfrom
sb/getTraceCli

Conversation

@ssbushi
Copy link
Copy Markdown
Contributor

@ssbushi ssbushi commented May 21, 2026

Fixes: #5379

Usage:

$ genkit trace:get 5aa367e7d3895db78339f6148aab29b4
Telemetry API running on http://localhost:4033
{
  "traceId": "5aa367e7d3895db78339f6148aab29b4",
  "displayName": "generate",
  "startTime": 1778700071212,
  "endTime": 1778700072191.0662,
....

Checklist (if applicable):

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new trace:get command to the Genkit CLI, enabling users to fetch trace details by ID. The changes include the command implementation, its registration in the main CLI entry point, and a comprehensive set of unit tests covering success and error paths. I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dev UI] Add trace lookup command in Genkit CLI

1 participant