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