Open
[feat]: 支持可观测gauge仪表 #104
zhangyuxian3Add on 28 days ago
[feat]: 支持可观测gauge仪表 #104
Open
Merge blocked
28 days ago Created pull request, commit 2f3247b3
28 days ago Associated issue: 支持可观测gauge仪表
zhangyuxian3
28 days ago Comments:
28 days ago Comments:
/publish


28 days ago Set WeliveWelove,DataSculptor,huanghan,aaronlee as approver
28 days ago Added label: sig/sig-interface
122 messages are collapsed here。 See more
openUBMC-robot
28 days ago Comments:
28 days ago Comments:
AI Declaration Check Failed
@zhangyuxian3, AI declaration is not compliant. AI tool: ZCode
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description.
Details: AI Coding Assistants. ⚠️


28 days ago Added label: limit_1k_suc
28 days ago Removed label: ci-running
openubmc-ci-bot
28 days ago Comments:
28 days ago Comments:
| 任务名称 | 结果 |
|---|---|
| pre-commit检查 | ✅ SUCCESS |
| PR描述检查 | ✅ SUCCESS |
| 防投毒检查 | ✅ SUCCESS |
| 开源合规检查 | ✅ SUCCESS |
| 编译构建 | ✅ SUCCESS |
| UT测试 | ✅ SUCCESS |
| IT测试 | ✅ SUCCESS |
| 代码覆盖率 | ❌ FAILED |
| 依赖校验 | ✅ SUCCESS |
| ipmi修改 | ✅ SUCCESS |
| 修改行数检查 | ✅ SUCCESS |


28 days ago Added label: ci-failed
当前PR是否有AI参与:
[ ] 否
[x] 是
__1. AI Agent 平台: ZCode
__2. AI 模型: GLM-5.3-Flash
__3. Prompt上下文 : 将 main 分支 gauge 仪表支持(!71)同步到 25.12 LTS 分支(提交信息含 Co-Authored-By: GLM-5.3-Flash)
PR功能描述 / 为什么需要这个合入:
将 main 分支已合入的 gauge 仪表支持(!71)移植到 25.12 LTS 分支(observability 1.90.35 → 1.90.36):
该内容即 main 分支历史版本 1.90.36 的原始变更(!71,2026-01 合入当时的 main 线),LTS 分支基于 1.90.35 尚未包含。
修改方案:
验证方案:
实机验证 gauge 类型指标(uptime/CPU 使用率等)正常上报;opentelemetry 1.13.0.019 编译与导出链路正常
测试建议
全量 UT 通过情况与增量覆盖率
自验证报告:
补丁与 !71 原始变更一致,基于 LTS 当前基线(1.90.35)干净套用;l_metric.cpp 中旧实现(attributes_equal/ObservableInstrument 回调)已全部移除,无残留引用。本地 bingo test -ut -it -cov -jit 多轮验证:UT/IT 全部通过,lua 增量覆盖率 100%(总增量含 C++ 为 100%)
该PR关联的issue
#64