Queries the metrics of a Tair (Redis OSS-compatible) instance.
Operation description
To improve user experience, Tair has upgraded the monitoring metrics. The DescribeMonitorItems operation is phased out. For more information, see The DescribeMonitorItems operation of Tair (Redis OSS-compatible) is phased out.
After you retrieve the metrics list, call the DescribeHistoryMonitorValues operation to query the monitoring history of the instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeMonitorItems |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
8BEB2618-9517-43F3-A233-E0B34512**** |
| MonitorItems |
object |
||
| KVStoreMonitorItem |
array<object> |
The returned metrics. Note
|
|
|
object |
|||
| Unit |
string |
The unit of the metric. |
Counts/s |
| MonitorKey |
string |
The metric. |
select |
Examples
Success response
JSON format
{
"RequestId": "8BEB2618-9517-43F3-A233-E0B34512****",
"MonitorItems": {
"KVStoreMonitorItem": [
{
"Unit": "Counts/s",
"MonitorKey": "select"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.