prometheus小坑--no datapoints found


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(centos)主机同步时间:

[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

运行浏览器的主机:

 

 

 出图:

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM