Endpoint
/api/v2/metric/tenants/{tenantId}/rtypes/{rtype}/resources/{resource}/metrics

Gets the list of metrics on a resource.

Path Parameters
tenantId
string

rtype
string

resource
string

Responses

OK

[
  {
    "availabilityMetric": true,
    "description": "The percentage of elapsed time that the processor spends to execute a non-Idle thread",
    "displayName": "CPU Utilization",
    "metricName": "system.cpu.utilization",
    "thresholdType": "STATIC",
    "unit": "%",
    "unitLabel": "Utilization"
  },
  {
    "availabilityMetric": false,
    "description": "Used space on the selected logical disk drive",
    "displayName": "Disk Utilization",
    "metricName": "system.disk.used",
    "thresholdType": "FORECAST",
    "unit": "GB",
    "unitLabel": "Utilization"
  }
]
Endpoint
/api/v2/metric/tenants/{tenantId}/rtypes/{rtype}/resources/{resource}/metrics

Post multiple metrics on a resource.

Path Parameters
tenantId
string

rtype
string

resource
string

instanceName
string

Instance name.

instanceVal
string

Instance value.

metricName
string

Metric name.

ts
string

Time in seconds.

[
  {
    "instanceName": "cpu.utilization",
    "instanceVal": "13.50",
    "metricName": "system.cpu.utilization",
    "ts": "1448274610"
  },
  {
    "instanceName": "rta",
    "instanceVal": "10.50",
    "metricName": "system.ping.rta",
    "ts": "1448274620"
  }
]

Responses

OK