11 Star 0 Fork 16

src-openEuler/prometheus

 / 详情

[24.03-LTS-SP1-RC3]promtool check metrics执行报错

已验收
缺陷
创建于  
2024-12-02 17:55

【缺陷描述】:请补充详细的缺陷问题现象描述
promtool check metrics执行报错prometheus_target_scrapes_exceeded_native_histogram_bucket_limit_total metric name should not include type 'histogram'
一、缺陷信息

【缺陷所属的os版本】(openEuler-24.03-LTS-SP1)

【内核版本】(6.6.0-56.0.0.60.oe2403sp1)

【缺陷所属软件及版本号】(prometheus2-2.46.0-2.oe2403sp1)

【环境信息】
硬件信息

  • 提供跟硬件相关的信息,如架构、cpu和内存规格等
  • 虚拟机场景,额外补充宿主机os版本类型

软件信息

  • 跟缺陷所属软件相关的其它软件版本信息(如软件包构建失败由gcc引起,请填写gcc的版本号)

prometheus2-2.46.0-2.oe2403sp1.x86_64

【问题复现步骤】:请描述具体的操作步骤
1.dnf install prometheus2 -y
2.获取文件 https://gitee.com/openeuler/mugen/blob/master/testcases/cli-test/prometheus2/prometheus.yml
3.prometheus > prometheus.log 2>&1 &
4.curl -s http://localhost:9090/metrics | promtool check metrics
【实际结果】,请描述出问题的结果和影响
报错prometheus_target_scrapes_exceeded_native_histogram_bucket_limit_total metric name should not include type 'histogram'
【期望结果】,请描述出期望的结果和影响
命令执行成功,无报错
【其他相关附件信息】
输入图片说明

评论 (2)

ga_beng_cui 创建了缺陷 3个月前

Hi ga_beng_cui, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-CloudNative, and any of the maintainers: @jianminw , @weibaohui , @duguhaotian , @yangzhao_kl , @jxy_git , @wonleing , @wubijie123 , @lu-wei-army , @xuxuepeng , @gaodaweiky , @zmr_2020

openeuler-ci-bot 添加了
 
sig/sig-CloudNative
标签
3个月前
jiangxinyu 通过合并 Pull Request !21: Fix metric name include histogram error任务状态待办的 修改为已完成 3个月前
jiangxinyu 通过合并 Pull Request !21: Fix metric name include histogram error任务状态待办的 修改为已完成 3个月前

使用最新版本已验证,无此问题
输入图片说明

ga_beng_cui 任务状态已完成 修改为已验收 3个月前

登录 后才可以发表评论

状态
负责人
项目
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
里程碑
分支
参与者(2)
5329419 openeuler ci bot 1632792936 7361816 ga beng cui 1655284969
1
https://gitee.com/src-openeuler/prometheus.git
git@gitee.com:src-openeuler/prometheus.git
src-openeuler
prometheus
prometheus

搜索帮助