Skip to content

feat: add iteration, timing, and CI panels to Issue Detail dashboard#122

Closed
ekuris-redhat wants to merge 1 commit into
forge-sdlc:mainfrom
ekuris-redhat:feat/grafana-issue-detail-panels
Closed

feat: add iteration, timing, and CI panels to Issue Detail dashboard#122
ekuris-redhat wants to merge 1 commit into
forge-sdlc:mainfrom
ekuris-redhat:feat/grafana-issue-detail-panels

Conversation

@ekuris-redhat

Copy link
Copy Markdown
Collaborator

Summary

Enhances the Forge Issue Detail Grafana dashboard with three new panels and an improved Traces Table to provide deeper per-ticket workflow analysis.

Changes

  • Iteration Count per Stage — horizontal bar chart showing how many times each workflow step was invoked for the selected ticket (approximates revision/iteration count)
  • Machine Time vs Idle Time per Stage — stacked bar chart showing active LLM processing time (green) vs waiting/idle time (orange) per workflow step
  • CI Fix Attempts — stat panel showing CI evaluations vs fix attempt counts for the selected ticket
  • Traces Table enhanced — added step and iteration columns so each trace shows which workflow step it belongs to and which iteration it represents

All panels use the existing langfuse-clickhouse datasource and jira_issue template variable.

Prerequisites

The LANGFUSE_TRACE_METADATA env var must include workflow_step for these panels to show data:

LANGFUSE_TRACE_TAGS=ticket_key,ticket_type,project_id,workflow_step,repo,pr_number,ci_status,event_source,event_type,llm_model
LANGFUSE_TRACE_METADATA=ticket_key,ticket_type,project_id,workflow_step,repo,pr_number,ci_status,event_source,event_type,retry_count,system_prompt_length,llm_model

Tickets traced before this config is set will not have data in the new panels.

Related

  • AISOS-2101

🤖 Generated with Claude Code

Add three new panels to the Forge Issue Detail Grafana dashboard:
- Iteration Count per Stage: bar chart showing trace count per workflow step
- Machine Time vs Idle Time: stacked bar showing active processing vs wait time
- CI Fix Attempts: stat panel showing CI evaluations vs fix attempts

Enhanced the Traces Table with step and iteration columns so each trace
shows which workflow step it belongs to and which iteration it represents.

Relates-to: AISOS-2101

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant