Cluster Action

Request

GET /rest/v2/manager/cluster/cluster_info/conn_info

集群连接信息

GET /rest/v2/manager/cluster/cluster_info/conn_info

Description

用于获取集群http、mysql连接信息。

Response

1. {
2. "msg": "success",
3. "code": 0,
4. "data": {
5. "http": [
6. "fe_host:http_ip"
7. ],
8. "mysql": [
9. "fe_host:query_ip"
10. ]
11. },
12. "count": 0
13. }

Examples

1. ```
2. GET /rest/v2/manager/cluster/cluster_info/conn_info

4. Response:
5. {
6. "msg": "success",
7. "code": 0,
8. "data": {
9. "http": [
10. "127.0.0.1:8030"
11. ],
12. "mysql": [
13. "127.0.0.1:9030"
14. ]
15. },
16. "count": 0
17. }
18. ```