首页 > 其他 > 详细

prometheus小坑--no datapoints found

时间:2020-05-03 11:13:58      阅读:895      评论:0      收藏:0      [点我收藏+]

web 界面出现:Warning! Detected 437.83 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results.

 是因为时间不同步导致的。

解决方法:运行prmetheus的linux主机同步时间:

[root@prometheus-node ~]# yum -y install ntp

[root@prometheus-node ~]# systemctl enable ntpd

[root@prometheus-node ~]# ntpdate time1.aliyun.com
3 May 10:22:51 ntpdate[24343]: step time server 203.107.6.88 offset 61321.940793 sec

运行浏览器的主机:

技术分享图片

 

prometheus小坑--no datapoints found

原文:https://www.cnblogs.com/director/p/12821016.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!