Sql insight ce#3100
Conversation
PR Code Suggestions ✨Latest suggestions up to 1ac7ee0
Previous suggestionsSuggestions up to commit 3000a86
|
- Add new type: TypeMySQLPerformanceCollect for MySQL performance data collection - Introduce new metrics for SQL insight: - MetricNameSqlInsightCollectTime - MetricNameSqlInsightThreadsConnected - MetricNameSqlInsightQueries - MetricNameSqlInsightQPS - Update ALLMetric map to include new metrics
- Implement CleanExpiredSqlManageInsightRecords function in CleanJob - Add RemoveExpiredSqlInsightRecord method to Storage - Integrate new cleaning job into existing cleanup processes - Use existing GetSqlManageRawSqlExpiredHoursOrDefault method for expiration time
- Add tips for performance collection audit plan - Update audit plan metadata structure to include tips - Localize tips message in English and Chinese - Modify audit plan response to include tips information
- Add new field 'audit_plan_type_tips' to API documentation in docs.go - Update swagger.json and swagger.yaml to include the new field
PR Code Suggestions ✨No code suggestions found for the PR. |
User description
关联的 issue
https://github.com/actiontech/sqle-ee/issues/2450
描述你的变更
性能指标采集,及其相关指标、名称等变量确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docassign in @iwanghc
Description
在审批计划元数据中新增Tips字段及本地化处理
添加SQL Insight性能指标常量及清理作业逻辑
更新API响应、Swagger及文档定义,支持新增字段
调整任务调用逻辑以便正确记录Raw SQL信息
Diagram Walkthrough
File Walkthrough