metrics/{id}
Get, update, or delete a metric.
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
- id
Identifier of the metric or event.
Responses
- metricSource
- metricName
- displayName
- description
- unit
- unitLabel
- factor
- groupName
- type
- metricCategory
Loading Examples...
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
- id
Identifier of the metric or event.
Request Body
application/json
- metricName
- groupName
- displayName
- description
- unit
- unitLabel
- unitConversionFactor
- adapterType
- appType
- datapointType
- warnOperator
- criticalOperator
- warningThreshHold
- criticalThreshHold
- warnRepeatCount
- criticalRepeatCount
- state
- alertState
- alertBody
- alertSub
- script
- format
- metricCategory
- duration
- expression
- enumMap
- formattedDataUsage
- labels
Loading Examples...
Responses
- adapterType
- unitConversionFactor
- alertState
- alertBody
- alertSub
- criticalRepeatCount
- warnRepeatCount
- criticalThreshHold
- warningThreshHold
- criticalOperator
- warnOperator
- datapointExp
- enumMap
- expression
- script
- graphPoint
- state
- recommended
- format
- appType
- rangeExp
- datapointType
- formattedDataUsage
- duration
- uniqueId
- metricName
- displayName
- description
- unit
- unitLabel
- factor
- groupName
- type
- metricCategory
Loading Examples...
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
- id
Identifier of the metric or event.
Responses
- name
- type
- Enum:
- metricevent
- deleted
- message
- uniqueId
Loading Examples...