feat(dashboard): restructure governance dashboard for live demo #14
Merged
Conversation
hazel-shen
commented
Jul 4, 2026
Owner
- Rebuild agent-governance.json with 5-section governance narrative: 總覽 / 行為治理(Demo1) / 資料治理(Demo2) / 規則治理(Demo3,collapsed) / 事後驗證
- Remove broken panel (audit event >= 3 always-zero stat)
- Add illustrative data banner text panel at top
- Add 最後push距今 (data freshness) and OPA決策延遲p99 stats to overview
- Add Blocked by Reason bargauge (depends on reason label from Prompt 2)
- Convert OPA test timeseries to state-timeline with PASS✓/FAIL✗ mappings
- Add v Tool×Role tables to use sum by (tool,role) and add limit(20)
- Wrap deny rate and patch/opa metrics with sum() for per-run grouping
- Remove DS_PROMETHEUS template variable; set time=now-15m, refresh=5s
- Reorganize: dashboards/governance/, dashboards/faq/, dashboards-archive/
- Set faq-bot-overview_v2 uid to prevent Grafana duplicate on folder scan
- Update provisioning foldersFromFilesStructure=false for flat layout
- Rewrite observability/README.md with provisioning auto-load instructions
…pt 3) - Rebuild agent-governance.json with 5-section governance narrative: 總覽 / 行為治理(Demo1) / 資料治理(Demo2) / 規則治理(Demo3,collapsed) / 事後驗證 - Remove broken panel (audit event >= 3 always-zero stat) - Add illustrative data banner text panel at top - Add 最後push距今 (data freshness) and OPA決策延遲p99 stats to overview - Add Blocked by Reason bargauge (depends on reason label from Prompt 2) - Convert OPA test timeseries to state-timeline with PASS✓/FAIL✗ mappings - Add v Tool×Role tables to use sum by (tool,role) and add limit(20) - Wrap deny rate and patch/opa metrics with sum() for per-run grouping - Remove DS_PROMETHEUS template variable; set time=now-15m, refresh=5s - Reorganize: dashboards/governance/, dashboards/faq/, dashboards-archive/ - Set faq-bot-overview_v2 uid to prevent Grafana duplicate on folder scan - Update provisioning foldersFromFilesStructure=false for flat layout - Rewrite observability/README.md with provisioning auto-load instructions
flat provider 會遞迴掃描,root 與 governance//faq/ 子目錄各存一份 同 uid 的 JSON 導致重複載入——先前 Grafana 出現 duplicate 的根因之一 (另一半是舊 volume 殘留,由 faq_metrics_reset.sh --grafana 處理)。 - 刪除 dashboards/governance/、dashboards/faq/(內容與 root 版本一致,已 diff 確認) - foldersFromFilesStructure 維持 false:flat 為有意識取捨, 上台導航少一層資料夾;dashboard uid 已釘死防撞 - dashboards-archive/(含 faq-bot-overview_v1)在掛載路徑外,不被載入
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.