docs(statistics): 同步 BK-Vision 空间信息图表文档 - #765
Merged
dengyh merged 1 commit intoJun 26, 2026
Merged
Conversation
There was a problem hiding this comment.
Review Summary
纯文档变更,更新 BK-Vision 统计仪表盘设计文档中的 SQL 示例和部署 checklist。变更清晰、范围收敛,无运行时代码影响。
✨ 亮点:
- SQL 使用
COALESCE和LEFT JOIN处理空间信息缺失情况,考虑周全 - 部署 checklist 补充了
space_space表访问权限确认步骤
- 第 179 行说明了跨库场景需使用带库名的表名(如
<bkflow_db>.space_space),但 Panel 7 和 Panel 14 的 SQL 示例中直接写了LEFT JOIN space_space s。建议在 SQL 旁加注释说明 "若跨库部署,需替换为带库名写法",或直接在示例中使用参数化表名,保持文档自洽。
整体 LGTM,无阻塞问题。
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #765 +/- ##
=======================================
Coverage 83.10% 83.10%
=======================================
Files 307 307
Lines 18167 18167
=======================================
Hits 15098 15098
Misses 3069 3069 ☔ View full report in Codecov by Harness. 🚀 New features to boost 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
space_space表的说明Impact
仅文档变更,用于对齐已调整的 BK-Vision 图表配置;不影响运行时代码。
Checks
git diff --check -- docs/specs/2026-03-31-bkvision-statistics-dashboard-design.md