Endpoint
/api/v2/metric/tenants/{tenantId}/rtypes/{rtype}/resources/{resource}/metrics
Gets the list of metrics on a resource.
Path Parameters
tenantIdstring
rtypestring
resourcestring
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
tenantIdstring
rtypestring
resourcestring
instanceNamestring
Instance name.
instanceValstring
Instance value.
metricNamestring
Metric name.
tsstring
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