URL
POST https://{api-url}/api/v2/metric/tenants/{tenantId}/rtypes/{rtype}/resources/{resource}/metrics
Sample URLs
https://{api-url}/api/v2/metric/tenants/client_7/rtypes/DEVICE/resources/735ab798-e9b4-474c-aa03-de9fb6a6e0f5/metrics
Parameters
All parameters are mandatory unless specified otherwise.
Field | Data Type | Description |
---|---|---|
metricName | String | Metric name. |
instanceVal | String | Instance value. |
ts | String | Time in seconds. |
instanceName | String | (Optional) Instance name. |
Status code
200 OK
Sample request
[
{
"metricName": "system.cpu.utilization",
"instanceName": "cpu.utilization",
"instanceVal": "13.50",
"ts": "1448274610"
},
{
"metricName": "system.ping.rta",
"instanceName": "rta",
"instanceVal": "10.50",
"ts": "1448274620"
}
]
Sample response
Null