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

Describes clientId or mspId of the tenant

metric
string

Describes metric name

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

Unit name displayed in the graph.

factor
integer

groupName
string

Metric group name.

lastVals
object

maxVals
object

metric
string

Metric type name.

metricType
string

Metric type.

minVals
object

resource
integer

resourceType
string

Resource type.

timeSeriesType
string

topMetric
boolean

unit
string

Metric type unit.

unitLabel
string

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

Describes clientId or mspId of the tenant

metric
string

Describes metric name

component
string

consolFunc
string

data
object

description
string

Summary of the metric type.

displayByComponent
boolean

displayName
string

Metric display name.

displayOrder
integer

displayUnit
string

Unit name displayed in the graph.

factor
integer

groupName
string

Metric group name.

lastVals
object

maxVals
object

metric
string

Metric type name.

metricType
string

Metric type.

minVals
object

resource
integer

resourceType
string

Resource type.

timeSeriesType
string

topMetric
boolean

unit
string

Metric type unit.

unitLabel
string

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

component
string

consolFunc
string

data
object

description
string

Summary of the metric type.

displayByComponent
boolean

displayName
string

Metric display name.

displayOrder
integer

displayUnit
string

Unit name displayed in the graph.

factor
integer

groupName
string

Metric group name.

lastVals
object

maxVals
object

metric
string

Metric type name.

metricType
string

Metric type.

minVals
object

resource
integer

resourceType
string

Resource type.

timeSeriesType
string

topMetric
boolean

unit
string

Metric type unit.

unitLabel
string

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"
}