-
Notifications
You must be signed in to change notification settings - Fork 212
feat: add metrics for obmysql full collect #3197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍(Review updated until commit d4fde64)
|
PR Code Suggestions ✨Latest suggestions up to d4fde64
Previous suggestionsSuggestions up to commit e443049
|
BugsGuru
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看下ai复审建议
|
Persistent review updated to latest commit d4fde64 |
User description
关联的 issue
https://github.com/actiontech/sqle-ee/issues/2615
描述你的变更
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docDescription
新增用户客户端IP、租户名称、请求时长指标
添加SQL记录检查函数以判断记录存在
更新本地化翻译消息及指标常量映射
修正指标名称不一致问题
Diagram Walkthrough
File Walkthrough
message_zh.go
新增并调整i18n消息配置sqle/locale/message_zh.go
ApMetricUserClientIP国际化消息ApMetricNameTenantName和ApMetricNameRequestTimeinstance_audit_plan.go
增加SQL记录检查新方法sqle/model/instance_audit_plan.go
HasSQLManageRecords方法检查SQL记录存在性metrics.go
扩展指标常量定义sqle/server/auditplan/metrics.go
MetricNameUserClientIP、MetricNameTenantName、MetricNameRequestTimeactive.en.toml
更新英文本地化指标翻译sqle/locale/active.en.toml
ApMetaOceanBaseForMySQLFullCollectApMetricUserClientIP、ApMetricNameRequestTime、ApMetricNameTenantName英文翻译
active.zh.toml
更新中文本地化指标翻译sqle/locale/active.zh.toml
ApMetaOceanBaseForMySQLFullCollectApMetricUserClientIP、ApMetricNameRequestTime、ApMetricNameTenantName中文翻译