Skip to content

feat(telemetry): the CLI dashboard repeats a panel per sub-command - #2708

Merged
dan-petty merged 3 commits into
mainfrom
claude/project-thread-5qxkn9
Oct 29, 2026
Merged

dan-petty merged 3 commits into
mainfrom
claude/project-thread-5qxkn9

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Requested by D · project thread

The devops-cli Telemetry dashboard finds each command group and each sub-command from the series that devops-cli sends, so a new command or sub-command shows with no change to the dashboard.

  • OTelTyper sends devops_cli_subcommand_duration_seconds with command (the command group, such as pr), sub_command (the command path below devops, such as pr threads reply) and status. Before, command held only the leaf name, which repeats across groups (config list, pr list), and no dashboard read the series.
  • The command variable reads label_values(devops_cli_command_total, command) in place of a hand-kept list of 41 groups. The new multi-value sub_command variable, with All, reads label_values(devops_cli_subcommand_duration_seconds{command=~"$command"}, sub_command).
  • The row "Sub-commands" holds "Sub-command Calls" (runs and errors by sub_command) and "Telemetry: $sub_command" (p50, p95, p99, mean and count), which repeats for each selected sub-command, four to a line. The RAG panels that sat below that row get their own row, "RAG Retrieval".

The Grafana 13 Auto grid with a "query has data" rule needs the v2 dashboard schema, and the file provider of the sidecar refuses a plain v2 dashboard. #2703 checks the Kubernetes-style v2 file on the cluster and adds it.

Closes #2700

Change: openspec/changes/archive/2026-10-29-2700-sub-command-dashboard/


Generated by Claude Code

… its series and repeats a panel for each

The sub-command histogram sends the command group in command and the command path below devops in sub_command. The dashboard reads command and sub_command with label_values and repeats the panel "Telemetry: $sub_command" for each selected sub-command.

Refs #2700

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PeiMDpegnXGr9zpkprtmPP
@dan-petty dan-petty self-assigned this Oct 29, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 22:37
@dan-petty
dan-petty merged commit 26e3c6d into main Oct 29, 2026
18 checks passed
@dan-petty
dan-petty deleted the claude/project-thread-5qxkn9 branch October 29, 2026 22:41
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.

feat(telemetry): the devops-cli dashboard finds each sub-command from its series and repeats a panel for each

2 participants