analyze-profile
Analyze a StarRocks query profile JSON to discover available metrics, identify bottlenecks, and suggest which metrics would be valuable to display.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze a StarRocks query profile JSON to discover available metrics, identify bottlenecks, and suggest which metrics would be valuable to display.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Explain how NorthStar works - architecture, data flow, specific features, or code patterns. Use when onboarding, understanding the codebase, or learning how a feature is implemented.
Suggest and implement quality of life improvements for a specific tab or feature in NorthStar. Use when you want to enhance usability, add features, or polish the UI.
Look up StarRocks query profile metrics and tuning documentation. Use when you need to understand what a metric means or how to optimize query performance.
| name | analyze-profile |
| description | Analyze a StarRocks query profile JSON to discover available metrics, identify bottlenecks, and suggest which metrics would be valuable to display. |
| allowed-tools | Read, Grep, Glob |
Analyze the query profile at $ARGUMENTS to discover metrics and identify performance characteristics.
test_profiles/ directory if just a filename)Query.Execution structureFor each operator type found (CONNECTOR_SCAN, HASH_JOIN_BUILD, HASH_JOIN_PROBE, AGGREGATE, EXCHANGE, etc.):
CommonMetrics keys with example valuesUniqueMetrics keys with example values__MAX_OF_* and __MIN_OF_* variants (useful for skew detection)Analyze the profile for:
OperatorTotalTime?BytesRead or RawRowsRead?hashTableMemoryUsage, rowsSpilledRawRowsRead vs RowsRead for scans__MAX_OF_* and __MIN_OF_* valuesProvide a structured report with:
parseNumericValue() pattern for time strings like "1.592ms"js/scanRender.js METRICS_CONFIGjs/joinRender.js JOIN_METRICS_CONFIG