nebula dashboard 是用报错:get status metrics from 121.40.192.112:9669 failed: Get “http://121.40.192.112:9669/status”: EOF

各位老师好,咨询一个问题,我用dashboard,但是我dashboard页面上面看我meta , graph ,storage没数据显示,我看了下我的nebula-stats-exporter里面的日子,报下面的错误

I0523 16:49:45.216456   10832 exporter.go:394] Collect default:STORAGED storaged0:9779 Metrics 
E0523 16:49:45.222146   10832 exporter.go:418] get status metrics from 121.40.192.112:9669 failed: Get "http://121.40.192.112:9669/status": EOF
E0523 16:49:45.425546   10832 exporter.go:418] get status metrics from 121.40.192.112:9779 failed: Get "http://121.40.192.112:9779/status": EOF
E0523 16:49:45.425585   10832 exporter.go:403] get query metrics from 121.40.192.112:9559 failed: Get "http://121.40.192.112:9559/stats?stats=": EOF
E0523 16:49:45.427975   10832 exporter.go:403] get query metrics from 121.40.192.112:9669 failed: Get "http://121.40.192.112:9669/stats?stats=": EOF
E0523 16:49:45.428002   10832 exporter.go:403] get query metrics from 121.40.192.112:9779 failed: Get "http://121.40.192.112:9779/stats?stats=": EOF
E0523 16:49:45.429790   10832 exporter.go:418] get status metrics from 121.40.192.112:9559 failed: Get "http://121.40.192.112:9559/status": EOF
I0523 16:49:45.429812   10832 exporter.go:331] Complete collect, time elapse 213.43541ms
I0523 16:49:50.216290   10832 exporter.go:329] Start collect
I0523 16:49:50.216337   10832 exporter.go:394] Collect default:METAD metad0:9559 Metrics 
I0523 16:49:50.216348   10832 exporter.go:394] Collect default:GRAPHD graphd0:9669 Metrics 
I0523 16:49:50.216354   10832 exporter.go:394] Collect default:STORAGED storaged0:9779 Metrics 
E0523 16:49:50.425459   10832 exporter.go:403] get query metrics from 121.40.192.112:9559 failed: Get "http://121.40.192.112:9559/stats?stats=": EOF
E0523 16:49:50.425496   10832 exporter.go:418] get status metrics from 121.40.192.112:9669 failed: Get "http://121.40.192.112:9669/status": EOF
E0523 16:49:50.425936   10832 exporter.go:418] get status metrics from 121.40.192.112:9779 failed: Get "http://121.40.192.112:9779/status": EOF
E0523 16:49:50.425973   10832 exporter.go:403] get query metrics from 121.40.192.112:9669 failed: Get "http://121.40.192.112:9669/stats?stats=": EOF
E0523 16:49:50.426305   10832 exporter.go:403] get query metrics from 121.40.192.112:9779 failed: Get "http://121.40.192.112:9779/stats?stats=": EOF
E0523 16:49:50.426636   10832 exporter.go:418] get status metrics from 121.40.192.112:9559 failed: Get "http://121.40.192.112:9559/status": EOF
I0523 16:49:50.426654   10832 exporter.go:331] Complete collect, time elapse 210.38212ms

麻烦各位老师帮忙看下

= =。你 Nebula Dashboard 是社区开源版本还是企业版?对应的版本号呢?还有配置信息贴一下,可能是配置没配置好。

btw,你问题和 nebula-explorer 没有直接关系,我把问题的标签去掉了。

老师你好我是社区的版本 nebula-graph-dashboard-1.0.2.x86_64.tar.gz 2.5.0就是官网上面的版本一模一样的,

这个是nebula-stats-exporter
version: v0.0.2
nebulaItems:

  • instanceName: metad0
    endpointIP: 机器ip
    endpointPort: 9559
    componentType: metad
  • instanceName: graphd0
    endpointIP: 机器ip
    endpointPort: 9669
    componentType: graphd
  • instanceName: storaged0
    endpointIP: 机器ip
    endpointPort: 9779
    componentType: storaged

这是dashborde

{
“connection”: {
“ip”: “机器ip”,
“port”: 9669
},
“alias”: {
“ip:port”: “instance1”
},
“chartBaseLine”: {

}

}

老师麻烦帮忙看一下,实在感谢

这里修改了对吧,修改成你的 Nebula 部署的 ip 了对吧

是的没问题的这边,我就一台机器

还有,是跨机器部署吗,就是你的 Nebula 部署在机器 A,Dashboard 部署在机器 B。

老师我这个是阿里云的IP,我是配置要配置成 127.0.0.1吗还是就阿里云的外网地址就可以

我就一台机器,我所有的都在那一台上面,不管是nebula还是board,老师

老师我咨询一下,nebula-stats-exporter发出的 http 是发给Prometheus吧?

:joy: 别喊老师了,我害怕,我就是个小运营,我来排查下常见的问题而已。:thinking: 我让研发同学给你看看。Prometheus 那个问题也让他回你

好的,感谢了,老铁,大概啥时候能有消息

回复时间参考这个,我们硬性的要求是工作日 24 小时之内,一般会比这个时间短。

你好,我问下这个nebula-stats-exporter所部署的服务环境与你所配置的机器ip网络是通的吗

我都在同一台机器上面。老师

方便看下配置信息吗

可以,需要哪一块的信息

nebula-stats-exporter服务的配置yaml文件里面的信息

version: v0.0.2
nebulaItems:

  • instanceName: metad0
    endpointIP: ***
    endpointPort: 9559
    componentType: metad
  • instanceName: graphd0
    endpointIP: ***
    endpointPort: 9669
    componentType: graphd
  • instanceName: storaged0
    endpointIP: ***
    endpointPort: 9779
    componentType: storaged

这个port改成19559,19669,19779 ,部署 Dashboard - Nebula Graph Database 手册 先按照文档来吧