Endpoint
/api/v2/metric/tenants/{tenantId}/metrictype
Path Parameters
tenantIdstring
componentstring
consolFuncstring
dataobject
descriptionstring
Summary of the metric type.
displayByComponentboolean
displayNamestring
Metric display name.
displayOrderinteger
displayUnitstring
(Optional) Unit name displayed in the graph.
factorinteger
groupNamestring
(Optional) Metric group name.
lastValsobject
maxValsobject
metricstring
Metric type name.
metricTypestring
Metric type.
minValsobject
resourceinteger
resourceTypestring
(Optional) Resource type.
timeSeriesTypestring
topMetricboolean
unitstring
Metric type unit.
unitLabelstring
(Optional) Label of the y-axis in the graph widget).
{
"description": "Sample metric please ignore",
"displayName": "TestMetric",
"displayUnit": "Percentage (%)",
"groupName": "system.test.*",
"metricName": "system.metric.device.test",
"resourceType": "CPU",
"type": "Guage",
"unit": "%",
"unitLabel": "Percentage (%)"
}
Responses
OK