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
  3. Response:
  4. {
  5. "msg": "success",
  6. "code": 0,
  7. "data": {
  8. "http": [
  9. "127.0.0.1:8030"
  10. ],
  11. "mysql": [
  12. "127.0.0.1:9030"
  13. ]
  14. },
  15. "count": 0
  16. }
  17. ```