Cluster Action

Request

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

集群连接信息

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

Description

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

Path parameters

Query parameters

Request body

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. GET /rest/v2/manager/cluster/cluster_info/conn_info
  2. Response:
  3. {
  4. "msg": "success",
  5. "code": 0,
  6. "data": {
  7. "http": [
  8. "127.0.0.1:8030"
  9. ],
  10. "mysql": [
  11. "127.0.0.1:9030"
  12. ]
  13. },
  14. "count": 0
  15. }