[AISOS-2389] Forge Grafana dashboards classify tasks as bugs - #301
Merged
Conversation
Detailed description: - Converted ticket_type CustomVariable in forge-business.json to a dynamic ClickHouse QueryVariable, which queries all active ticket types including Task, preventing them from being filtered out. - Added 'Avg Cost / Task' panel (panel-26) and 'Avg Completion Time (Tasks)' panel (panel-27) to business dashboard. - Integrated new panels into '💵 Executive KPIs' and '🔄 Efficiency & Waste' rows with clean, symmetric widths and grid offsets. Closes: AISOS-2391
Collaborator
Author
🛠️ Forge PR CommandsThis pull request was created by Forge! You can use the following commands by commenting on this PR:
Feel free to use these commands to manage your workflow! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request resolves issues where "Task" issue types were omitted or misclassified as bugs on Forge Grafana dashboards by converting hardcoded filters to dynamic queries. It introduces dedicated KPI panels on the business dashboard to track the average cost and completion times specifically for tasks, providing complete and accurate visibility into SDLC performance metrics. Additionally, the developer guide has been updated to officially list "Task" alongside features and bugs as a core ticket type.
Changes
Dashboards
ticket_typeCustomVariableto a dynamic ClickHouseQueryVariableindevtools/grafana/dashboards/forge-business.jsonto automatically retrieve active ticket types, preventing tasks from being filtered out.panel-26): Created a new KPI panel as a duplicate of the bug fix cost panel, filtered ont.metadata['ticket_type'] = 'Task'.panel-27): Added a new efficiency panel as a duplicate of the bug completion time panel, filtered ont.metadata['ticket_type'] = 'Task'.Documentation
docs/developer-guide.md): Updated trace metadata field descriptions to explicitly includeTaskas a first-class ticket type option, aligning developer documentation with system behavior.Implementation Notes
Testing
pytest tests/unit/devtools/test_grafana_assets.py).ruff check src/.Related Tickets
Generated by Forge SDLC Orchestrator