安装完数据库后浏览器访问监控平台完全空白

操作系统版本:Red Hat Enterprise Linux 7.3 数据库版本 2.1.6

浏览器访问空白,尝试过其他节点浏览器访问同样

grafana.log: t=2019-08-23T23:32:13+0800 lvl=info msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=xx.xxx.xxx.xxx time_ms=0 size=29 referer= t=2019-08-23T23:32:22+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=3 name=“server report failures alert” changing state to=ok t=2019-08-23T23:32:24+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=4 name=“TiKV channel full alert” changing state to=ok t=2019-08-23T23:32:24+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=5 name=“approximate region size alert” changing state to=no_data t=2019-08-23T23:32:24+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=7 name=“TiKV raft store CPU alert” changing state to=ok t=2019-08-23T23:32:32+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=4 name=“TiKV channel full alert” changing state to=ok t=2019-08-23T23:32:32+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=3 name=“server report failures alert” changing state to=ok t=2019-08-23T23:32:42+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=3 name=“server report failures alert” changing state to=ok t=2019-08-23T23:32:44+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=4 name=“TiKV channel full alert” changing state to=ok t=2019-08-23T23:32:52+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=4 name=“TiKV channel full alert” changing state to=ok t=2019-08-23T23:32:52+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=3 name=“server report failures alert” changing state to=ok t=2019-08-23T23:33:02+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=3 name=“server report failures alert” changing state to=ok t=2019-08-23T23:33:04+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=4 name=“TiKV channel full alert” changing state to=ok t=2019-08-23T23:33:12+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=4 name=“TiKV channel full alert” changing state to=ok t=2019-08-23T23:33:12+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=3 name=“server report failures alert” changing state to=ok t=2019-08-23T23:33:15+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=7 name=“TiKV raft store CPU alert” changing state to=ok t=2019-08-23T23:33:15+0800 lvl=info msg=“Alert Rule returned no data” logger=alerting.evalHandler ruleId=6 name=“scheduler pending commands alert” changing state to=ok t=2019-08-23T23:33:15+0800 lvl=info msg=“New state change” logger=alerting.resultHandler alertId=6 newState=ok prev state=pending

详细grafana.log: grafana.log.2019-08-24.001 (87.7 KB)

换个浏览器呢?使用chrome

推荐使用chrome; 检查下防火墙

抱歉,其他事耽误没有及时回复,更换chrome后,grafana的界面已经能够打开,但是没有任何数据,尝试采用Tidb 3.0的版本,grafana.log日志的报错任然包含很多“Alert Rule returned no data”,然后尝试检查node_exporter.log发现很多关于CPU的error,搜索难找到相关信息,不确定是否有影响。

更换浏览器后,能打开grafana,但是没有任何数据,还说存在问题。

更换数据库版本后的grafana.log日志。 grafana20190902.log (163.0 KB)

通过日志看是/sys/bus/cpu/devices/cpu0/cpufreq/scaling_cur_freq 这个文件不存在。解决思路: 1、先排查下这个文件为什么不存在。 2、对照着部署文档,看看哪几步存在疑点。