refactor: 增加 node-controller 本身监控上传的prometheus
This commit is contained in:
parent
e486c8e7cf
commit
59f4af42d5
|
@ -75,6 +75,8 @@ public class ConsulService {
|
||||||
port = node.getMonitorPort();
|
port = node.getMonitorPort();
|
||||||
}
|
}
|
||||||
result.put(node.getIp() + "-" + port, Collections.singletonList("metersphere"));
|
result.put(node.getIp() + "-" + port, Collections.singletonList("metersphere"));
|
||||||
|
// node-controller 监控端口 8082
|
||||||
|
result.put(node.getIp() + "-" + node.getPort(), Collections.singletonList("metersphere"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cache.clear();
|
cache.clear();
|
||||||
|
|
Loading…
Reference in New Issue