【Prometheus时间不同步】Warning! Detected 60.44 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results.
报错信息
Warning! Detected 60.44 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results.
浏览器和服务器之间存在时间差,Prometheus依赖精确时间,时间差会导致查询到的数据不准确。
解决方法
yum install -y ntp
ntpdate -u time1.aliyun.com