Get CPU & memory usage metric with edge gateway
GET/organizations/:organizationId/edge-gateways/:edgeGatewayId/metrics/cpu-memory-usage
Get CPU & memory usage metric with edge gateway
Request
Path Parameters
organizationId stringrequired
The ID of organization.
edgeGatewayId stringrequired
Edge Gateway ID
Query Parameters
period string
Possible values: [60, 300, 900, 3600, 86400, 604800, 2592000]
Default value: 300
Period of metric(unit: sec).
periodTime number
Possible values: >= 1 and <= 129600
Default value: 60
Period time of metric(unit: sec).
statistic string
Possible values: [Average, Minimum, Maximum]
Default value: Average
Statistic of metric.
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Data of the edge gateway.
cpuUsage objectrequired
timestamps number[]required
values number[]required
memoryUsage objectrequired
timestamps number[]required
values number[]required
{
  "data": {
    "cpuUsage": {
      "timestamps": [
        0
      ],
      "values": [
        0
      ]
    },
    "memoryUsage": {
      "timestamps": [
        0
      ],
      "values": [
        0
      ]
    }
  }
}
{
  "data": {
    "cpuUsage": {
      "timestamps": [
        1704067200000,
        1706659200000
      ],
      "values": [
        20,
        25
      ]
    },
    "memoryUsage": {
      "timestamps": [
        1704067200000,
        1706659200000
      ],
      "values": [
        45,
        50
      ]
    }
  }
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
  "error": "string",
  "message": "string"
}
{
  "error": "Unauthenticated",
  "message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
  "error": "string",
  "message": "string"
}
{
  "error": "Forbidden",
  "message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
  "error": "string",
  "message": "string"
}
{
  "error": "ValidationError",
  "message": "Input data validation failed."
}
Loading...