v1

latestOpenAPI 3.0.0Apache 2.02026-07-176940115.5 KB
Metrics

Trigger metric collection for the specified driver.

post/v1beta/{tenantId}/metrics

Request body

driverType'lvm' | 'ceph' | 'huawei_oceanstor_block' required

Response

Accepted

idstring
createdAtstring date-time
updatedAtstring date-time
instanceIDstring
instanceNamestring
jobstring
namestring required
unitstring
aggrTypestring
labelsobject

Example response

{
  "id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
  "createdAt": "2017-07-10T14:36:58.014Z",
  "updatedAt": "2017-07-10T14:36:58.014Z",
  "metricValues": [
    {
      "timestamp": 1575363783,
      "value": 16.74
    }
  ],
  "labels": {
    "key1": "value1",
    "key2": "value2"
  }
}