shulieTech / Takin

Takin is an Java-based, open-source system designed to measure online environmental performance test for full-links, Especially for microservices. Through Takin, middlewares and applications can identify real online traffic and test traffic, ensure that they enter the right databases.
Apache License 2.0
1.31k stars 330 forks source link

业务活动列表为空,无法新增业务活动 #127

Closed test10015 closed 2 years ago

test10015 commented 2 years ago

业务活动列表为空,无法新增业务活动,已排查以下问题: 1.t_amdb_pradar_link_entrance, t_trace_all表中无数据; 2.surge-deploy任务是正常启动;

  1. zookeeper 无节点
test10015 commented 2 years ago

image image

iengrave commented 2 years ago

请检查surge启动脚本,将启动命令中IP映射的172.17.xx.xx IP更换成172.17.0.6,然后重启surge-deploy,并确保zookeeper中的/config/log/pradar/cloud/server节点下有内容注册,然后再次尝试之前的发压流程

test10015 commented 2 years ago

请检查surge启动脚本,将启动命令中IP映射的172.17.xx.xx IP更换成172.17.0.6,然后重启surge-deploy,并确保zookeeper中的/config/log/pradar/cloud/server节点下有内容注册,然后再次尝试之前的发压流程

thx, 改了IP就可以了,请问这是原因什么导致的?

iengrave commented 2 years ago

探针访问需要通过宿主机暴露的端口访问,surge是通过启动参数中的容器IP映射到宿主机IP,你的容器IP不是默认的,所以需要修改