All Products
Search
Document Center

ApsaraDB for Redis:DescribeMonitorItems

Last Updated:Nov 03, 2023

Queries the metrics of an ApsaraDB for Redis instance.

Operation Description

Note ApsaraDB for Redis has upgraded the monitoring metrics. The DescribeMonitorItems operation is phased out. For more information, see The DescribeMonitorItems operation supported by ApsaraDB for Redis is phased out.

After you call this operation to retrieve a list of metrics for a specified ApsaraDB for Redis instance, you can call the DescribeHistoryMonitorValues operation to query monitoring history of the instance.

debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The operation that you want to perform. Set the value to DescribeMonitorItems.

8BEB2618-9517-43F3-A233-E0B34512****
MonitorItemsobject []

The unit of the metric.

Unitstring

Queries the metrics of an ApsaraDB for Redis instance.

Counts/s
MonitorKeystring

DescribeMonitorItems

select

Examples

Sample success responses

JSONformat

{
  "RequestId": "8BEB2618-9517-43F3-A233-E0B34512****",
  "MonitorItems": {
    "KVStoreMonitorItem": [
      {
        "Unit": "Counts/s",
        "MonitorKey": "select"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history