区块链服务 BCS-查询BCS组织监控数据列表:响应示例

时间:2024-07-03 14:20:50

响应示例

状态码: 200

Ok

{
  "metrics" : [ {
    "dimensions" : [ {
      "name" : "cluster",
      "value" : "abc"
    } ],
    "values" : [ {
      "cpuUsage" : 0.175,
      "diskReadRate" : 0,
      "diskWriteRate" : 0,
      "memUsage" : 1.252,
      "recvBytesRate" : 1703.617,
      "sendBytesRate" : 2438.85,
      "filesystemUsage" : 9.344
    } ]
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : " BCS .4004024",
  "error_msg" : "invalid org name input"
}

状态码: 401

Unauthorized

{
  "error_code" : "B CS .4010401",
  "error_msg" : "Incorrect token or token resolution failed"
}

状态码: 403

Forbidden

{
  "error_code" : "BCS.4030403",
  "error_msg" : "No permissions to request this method"
}

状态码: 404

Not Found

{
  "error_code" : "BCS.4040404",
  "error_msg" : "Not Found:the url is not found"
}

状态码: 500

InternalServerError

{
  "error_code" : "BCS.5000500",
  "error_msg" : "Internal Server Error"
}
support.huaweicloud.com/api-bcs/ListEntityMetric_3.html