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.

FieldData TypeDescription
metricNameStringMetric name.
instanceValStringInstance value.
tsStringTime in seconds.
instanceNameString(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