当前位置:首页 >> 编程语言 >> 【Prometheus-报错】Out of bounds,powerdvd

【Prometheus-报错】Out of bounds,powerdvd

cpugpu芯片开发光刻机 编程语言 1
文件名:【Prometheus-报错】Out of bounds,powerdvd 【Prometheus|报错】Out of bounds

【背景】进入Prometheus地址的9090端口,pushgateway(0/1)error : out of bounds

【排查分析】

1、out of bounds报错,是由于Prometheus向tsdb存数据出错,与最新存数据的时间序列有问题,有可能当前时间与最新存放数据时间小;

2、去Prometheus存放的数据目录查看,存储的数据为2024年,而当前时间为2023年;

3、最后得知是人为导致,修改Prometheus节点时间为2024年,过了几个小时,又修改为2023年。如果改了时间为2024年,获取数据正常,最多采集数据为no data的问题,如果此时改为2023年,此时最近存放数据的时间序列大于当前存放数据序列,不满足tsdb递增时间序列,报出“Out of bounds”

【解决方案】

删掉数据(rm -rf /data/prometheus/data/* ),重启prometheus,保证当前时间序列大于最近一次存储数据的数据序列。

协助本站SEO优化一下,谢谢!
关键词不能为空
同类推荐
«    2025年12月    »
1234567
891011121314
15161718192021
22232425262728
293031
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
搜索
最新留言
文章归档
网站收藏
友情链接