云服务器内容精选

  • URI GET /ges/v1.0/{project_id}/graphs/{graph_name}/om/real-time-queries?summary= 表1 路径参数 参数 是否必选 类型 说明 project_id 是 String 项目ID。项目ID,获取方法请参见获取项目ID。 graph_name 是 String 图名称。 summary 否 Bool 是否只查询实时请求的概要信息,默认为false。如果设置为true,只返回概要信息,任务详情不会返回。
  • 响应示例 状态码: 200 成功响应示例 { "instance_name": "ges_demo-ges-dn-2-1", "edge_capacity": 0, "edge_number": 0, "edge_usage": 0, "vertex_capacity": 0, "vertex_number": 0, "vertex_usage": 0, "read_waiting_queue_length": 2, "read_running_queue_length": 1, "write_waiting_queue_length": 0, "write_running_queue_length": 0, "current_queries": [ { "task_name": "incremental_load_graph", "request": { "vertex_file_format": "csv", "parallel_edge": "allow", "graph_name": "ges_demo", "vertex_file_path": "wepbucket/movie1/sit_ges_data_uat/nodes/", "edge_file_path": "wepbucket/movie1/sit_ges_data_uat/edges/", "schema_file_path": "wepbucket/movie1/sit_ges_data_uat/sit_ges_metadata_v6.xml", "vidSerialize": true, "offline": false, "trim_quote": "\"", "ignore_label": true, "delimiter": ",", "edge_file_format": "csv", "parameters": { "secret_key": "xxxxxxxx", "access_key": "xxxxxxxx", "region": "cn-north-7" } }, "pending_duration": 9.91311, "request_id": "0c56e2d14369586da38d7fe3b81bb1bd", "status": "pending", "begin_time": "", "running_duration": 0, "progress": 0 } ] } 状态码: 400 失败响应示例 Http Status Code: 400 { "errorMessage": "query metrics error.", "errorCode": "GES.8602" }