metrics
Create and search tenant metrics.
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
Query Parameters
- queryString
Search query for metrics.
- pageNo
Page number.
Default: 1
- pageSize
Number of results per page.
Default: 100
- orderBy
Field used to order results.
Default: id
- descendingOrder
Whether results are ordered in descending order.
Responses
- results
- totalResults
- orderBy
- pageNo
- pageSize
- totalPages
- nextPage
- previousPageNo
- descendingOrder
Loading Examples...
Path Parameters
- tenantId
Describes the clientId or mspId of tenant
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
Loading Examples...