All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeNodeMetrics

Last Updated:Nov 14, 2025

You can call this operation to query the detailed metrics information of an OceanBase Database node.

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.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
oceanbase:DescribeNodeMetricsget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The list of nodes.

ob317v4uif****
PageSizeintegerNo

The ID of the tenant.

10
PageNumberintegerNo

$.parameters[6].schema.description

1
TenantIdstringNo

$.parameters[6].schema.enumValueTitles

tfafd34fs****
StartTimestringYes

$.parameters[9].schema.example

2021-06-13T15:40:43Z
EndTimestringYes

$.parameters[7].schema.description

2021-09-13T15:40:43Z
MetricsstringYes

$.parameters[7].schema.enumValueTitles

tps
NodeNamestringNo

$.parameters[8].schema.example

i-bp16niirq4zdmgvm****
NodeIdListstringNo

$.parameters[10].schema.description

[i-bp16niirq4zdmgvm****,i-bp16n56hq4z4fgvm****]

Response parameters

ParameterTypeDescriptionExample
object

$.parameters[10].schema.enumValueTitles

TotalCountinteger
http(s)://[Endpoint]/?Action=DescribeNodeMetrics
&InstanceId=ob317v4uif****
&PageSize=10
&PageNumber=1
&TenantId=ob2mr3oae0****
&StartTime=2021-06-13 15:40:43
&EndTime=2021-09-13 15:40:43
&Metrics=tps
&NodeName=i-bp16niirq4zdmgvm****
&NodeIdList=["i-bp19y05uq6xpacyqnlrc","i-bp1blcr3htr3g3u2vqvu","i-bp1392ikhayhr3hi4fli"]
&Common request parameters
9
RequestIdstring

You can call this operation to query the detailed metrics information of an OceanBase Database node.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C

Examples

Sample success responses

JSONformat

{
  "TotalCount": 9,
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "NodeMetrics": "-"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-01-17The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-01-17The request parameters of the API has changedView Change Details