Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
18
Star
83
Fork
132
openEuler
/
gala-gopher
Code
Issues
12
Pull Requests
3
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
container、jvm探针meta文件中相同实体的不同表中定义的key不一致
已挂起
#I8HQX4
Bug
algorithmofdish
Opened this issue
2023-11-20 10:24
根据最初对观测实体的设计约定:相同观测实体类型的key字段需要保持一致,以便用于全局唯一标识一个观测实体。 当前的container、jvm的meta文件定义中存在多个table_name设置了不同的key的情况,这会导致后续使用(生成拓扑图、异常检测)出现无法唯一标识一个观测实体的问题。 ``` table_name: "container_blkio", entity_name: "container", fields: ( { description: "container id", type: "key", name: "container_id", }, { description: "device", type: "key", name: "device", }, { description: "major", type: "key", name: "major", }, table_name: "container_cpu", entity_name: "container", fields: ( { description: "container id", type: "key", name: "container_id", }, { description: "cpu", type: "key", name: "cpu", }, ``` ``` { table_name: "jvm_mem", entity_name: "jvm", fields: ( { description: "ID of current java process.", type: "key", name: "tgid", }, { description: "Name of JVM Main Class.", type: "label", name: "name", }, { description: "type of JVM memory type: heap or noheap.", type: "key", name: "area", }, table_name: "jvm_thread", entity_name: "jvm", fields: ( { description: "ID of current java process.", type: "key", name: "tgid", }, ```
根据最初对观测实体的设计约定:相同观测实体类型的key字段需要保持一致,以便用于全局唯一标识一个观测实体。 当前的container、jvm的meta文件定义中存在多个table_name设置了不同的key的情况,这会导致后续使用(生成拓扑图、异常检测)出现无法唯一标识一个观测实体的问题。 ``` table_name: "container_blkio", entity_name: "container", fields: ( { description: "container id", type: "key", name: "container_id", }, { description: "device", type: "key", name: "device", }, { description: "major", type: "key", name: "major", }, table_name: "container_cpu", entity_name: "container", fields: ( { description: "container id", type: "key", name: "container_id", }, { description: "cpu", type: "key", name: "cpu", }, ``` ``` { table_name: "jvm_mem", entity_name: "jvm", fields: ( { description: "ID of current java process.", type: "key", name: "tgid", }, { description: "Name of JVM Main Class.", type: "label", name: "name", }, { description: "type of JVM memory type: heap or noheap.", type: "key", name: "area", }, table_name: "jvm_thread", entity_name: "jvm", fields: ( { description: "ID of current java process.", type: "key", name: "tgid", }, ```
Comments (
1
)
Sign in
to comment
Status
已挂起
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
xietangxin
cp3yeye
Assignee
Collaborator
+Assign
+Mention
Labels
sig/sig-ebpf
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (6)
Tags (9)
master
systrace
dev_meituan
dev
demo
dev-core
2.0.2
2.0.2-beta
2.0.1
1.0.3
2.0.0
1.0.2
1.0.1
1.0.0
v1.0.0
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/openeuler/gala-gopher.git
git@gitee.com:openeuler/gala-gopher.git
openeuler
gala-gopher
gala-gopher
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register