All Products
Search
Document Center

PolarDB:DescribePolarFsPerformance

Last Updated:Nov 05, 2026

Queries the performance metrics and sampling data of a specified PolarFS instance within a specified time range.

Operation description

Use Key to specify the metric group to query and Interval to specify the sampling granularity. The end time of the query must not be earlier than the start time, and the start time must not be later than the current time.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-beijing

PolarFsInstanceId

string

Yes

The PolarFS instance ID.

pfs-2ze0i74ka607*****

Key

string

Yes

The monitoring metric group. Valid values: Capacity (capacity), Inode (file nodes), Iops (read and write operations per second), Latency (read and write latency), QpsMeta (metadata operation requests), and Throughput (read and write throughput).

Capacity

StartTime

string

Yes

The start time of the query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time must be in UTC.

2024-10-07T02:04:00Z

EndTime

string

Yes

The end time of the query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time must be in UTC and must not be earlier than the start time.

2024-10-07T03:04:00Z

Interval

string

No

The sampling granularity of performance data, in seconds. The value must be a multiple of 60 and greater than 0. Default value: 60.

60

DBClusterId

string

No

The cluster ID.

Note

You can call the DescribeDBClusters operation to query the IDs of all Data Warehouse Edition clusters in the specified region.

pc-*****************

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

2921D843-433A-5FB3-A03B-4EC093B219F8

PolarFsInstanceId

string

The PolarFS instance ID.

pfs-2ze0i74ka607*****

StartTime

string

The start time of the query. The time is in UTC.

2024-10-07T02:04:00Z

EndTime

string

The end time of the query. The time is in UTC.

2024-10-07T03:04:00Z

PerformanceKeys

object

PerformanceItem

array<object>

The performance details.

array<object>

The performance details.

MetricName

string

The name of the specific monitoring metric. For example, CapacityUsed indicates the used capacity.

CapacityUsed

Measurement

string

The monitoring metric group to which this set of data belongs. This corresponds to the Key request parameter.

Capacity

Points

object

PerformanceItemValue

array<object>

The performance details.

object

The performance details.

Timestamp

integer

The timestamp.

1726625348

Value

string

The value of the monitoring metric.

100

Examples

Success response

JSON format

{
  "RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
  "PolarFsInstanceId": "pfs-2ze0i74ka607*****",
  "StartTime": "2024-10-07T02:04:00Z",
  "EndTime": "2024-10-07T03:04:00Z",
  "PerformanceKeys": {
    "PerformanceItem": [
      {
        "MetricName": "CapacityUsed",
        "Measurement": "Capacity",
        "Points": {
          "PerformanceItemValue": [
            {
              "Timestamp": 1726625348,
              "Value": "100"
            }
          ]
        }
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.