prometheus小坑--no datapoints found

时间:2020-05-03 11:13:58   收藏:0   阅读:901

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

运行浏览器的主机:

技术分享图片

 

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!