dashboard无法查到endpoint, counter

问题

使用Open-falcon时,Agent 推送metrics后,无法在Dashboard上显示。将Agent的hostname 修改后,却可以。

解决办法

查看Agent log,推送到transfer的数据都是成功的,查看transfer的统计数据,数据都能对应上。

问题聚焦到graph组件上,可能是graph没有写到mysql里面。

QQ群里沟通,有出现metric 改名字才能在dashboard上显示的问题。

最后果然出在graph上,需要触发graph索引全量更新:

$ curl 127.0.0.1:6071/index/updateAll

操作后,Dashboard就可以看到数据。

关于索引问题可以参考open-falcon文档
https://book.open-falcon.org/zh_0_2/faq/graph.html

Just try, don't shy.
原文地址:https://www.cnblogs.com/lanyangsh/p/7782384.html