Endpoint
/api/v2/metric/tenants/{tenantId}/metrics/{metric}/metricType
Path Parameters
tenantId
string

metric
string

Responses

OK

component
string

consolFunc
string

data
object

description
string

Summary of the metric type.

displayByComponent
boolean

displayName
string

Metric display name.

displayOrder
integer

displayUnit
string

(Optional) Unit name displayed in the graph.

factor
integer

groupName
string

(Optional) Metric group name.

lastVals
object

maxVals
object

metric
string

Metric type name.

metricType
string

Metric type.

minVals
object

resource
integer

resourceType
string

(Optional) Resource type.

timeSeriesType
string

topMetric
boolean

unit
string

Metric type unit.

unitLabel
string

(Optional) Label of the y-axis in the graph widget).

{
  "consolFunc": "AVERAGE",
  "description": "Sample metric test please ignore",
  "displayByComponent": false,
  "displayName": "Metric test",
  "displayOrder": 100,
  "displayUnit": " Packets per minute (packet/min)",
  "factor": 1,
  "groupName": "system.device.test.*",
  "metricName": "system.metric.file.send",
  "resourceType": "Device",
  "topMetric": false,
  "type": "Counter",
  "unit": "packet/min",
  "unitLabel": " Packets per minute (packet/min)"
}
Endpoint
/api/v2/metric/tenants/{tenantId}/metrics/{metric}/metricType
Path Parameters
tenantId
string

metric
string

component
string

consolFunc
string

data
object

description
string

Summary of the metric type.

displayByComponent
boolean

displayName
string

Metric display name.

displayOrder
integer

displayUnit
string

(Optional) Unit name displayed in the graph.

factor
integer

groupName
string

(Optional) Metric group name.

lastVals
object

maxVals
object

metric
string

Metric type name.

metricType
string

Metric type.

minVals
object

resource
integer

resourceType
string

(Optional) Resource type.

timeSeriesType
string

topMetric
boolean

unit
string

Metric type unit.

unitLabel
string

(Optional) Label of the y-axis in the graph widget).

{
  "description": "Cpu Statistics",
  "displayName": "CPUSTATS",
  "displayUnit": "%",
  "groupName": "system.cpustats.*",
  "metricName": "system.cpu.stats.kernel",
  "type": "Gauge",
  "unit": "%",
  "unitLabel": "Percentage"
}

Responses

OK