All Products
Search
Document Center

AnalyticDB:DescribeDBClusterPerformance

Last Updated:Jun 11, 2026

Melihat data performa kluster target.

Deskripsi operasi

For the service endpoint address, see Service endpoint.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

adb:DescribeDBClusterPerformance

list

*DBClusterLakeVersion

acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

ID kluster Edisi Danau Data Terpadu.

Catatan

Anda dapat memanggil operasi DescribeDBClusters untuk mengkueri ID semua kluster di wilayah tertentu.

amv-bp1hx5n1o8f61****

Key

string

No

Kunci data deret waktu performa. Pisahkan beberapa kunci dengan koma (,). Untuk daftar data deret waktu yang didukung, Tampilan Ikhtisar data deret waktu.

AnalyticDB_CPU_Usage_Percentage

StartTime

string

No

Awal rentang pengatur waktu yang akan dikueri. Tentukan pengatur waktu dalam UTC dengan format yyyy-MM-ddTHH:mmZ.

2022-03-10T23:56Z

EndTime

string

No

Akhir pengatur waktu yang akan dikueri. Tentukan waktu dalam UTC dengan format yyyy-MM-ddTHH:mmZ.

Catatan

Waktu akhir harus lebih lambat daripada waktu mulai. Pengatur waktu tidak boleh melebihi dua hari.

2022-03-11T15:01Z

RegionId

string

Yes

ID wilayah.

Catatan

Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru yang didukung oleh Database Analitik for MySQL, termasuk ID wilayah.

cn-hangzhou

ResourcePools

string

No

Nama kolam sumber daya.

user_default

Elemen respons

Element

Type

Description

Example

object

EndTime

string

The end time of the query. The time is displayed in UTC in the yyyy-MM-ddTHH:mmZ format.

2022-03-11T15:01Z

RequestId

string

The request ID.

BD8C3096-8BC6-51DF-A4AB-BACD9DC10435

StartTime

string

The start time of the query. The time is displayed in UTC in the yyyy-MM-ddTHH:mmZ format.

2022-03-10T23:56Z

DBClusterId

string

The cluster ID.

Catatan

You can call the DescribeDBClusters operation to query the IDs of all clusters in a specific region.

amv-bp1hx5n1o8f61****

Performances

array<object>

The cluster performance metrics.

array<object>

Key

string

The name of the performance metric.

AnalyticDB_CPU_Usage_Percentage

Unit

string

The unit of the monitoring metric.

%

Series

array<object>

The time series data for the metric.

object

The details of a time series.

Values

array

The details about the performance values at different points in time.

string

The details about the performance values at different points in time.

[ [ "2023-06-27T13:21:00+08:00","0.1250" ], [ "2022-03-11T10:00:42.739Z","0.3125" ]... ]

Name

string

The name of the performance metric. This is the value name of the monitoring metric. For more information, see Overview of metrics.

AnalyticDB_Storage_CPU_Avg_Usage_Percentage

Tags

string

The tag value.

{instance_name: "am-***"}

TranslateKey

string

AnalyticDB_RP_WaitTime

Contoh

Respons sukses

JSONformat

{
  "EndTime": "2022-03-11T15:01Z",
  "RequestId": "BD8C3096-8BC6-51DF-A4AB-BACD9DC10435",
  "StartTime": "2022-03-10T23:56Z",
  "DBClusterId": "amv-bp1hx5n1o8f61****",
  "Performances": [
    {
      "Key": "AnalyticDB_CPU_Usage_Percentage",
      "Unit": "%",
      "Series": [
        {
          "Values": [
            "[\n  [ \n  \"2023-06-27T13:21:00+08:00\",\"0.1250\" \n  ], \n  [ \n  \"2022-03-11T10:00:42.739Z\",\"0.3125\" \n  ]...\n]"
          ],
          "Name": "AnalyticDB_Storage_CPU_Avg_Usage_Percentage",
          "Tags": "\n{instance_name: \"am-***\"}",
          "TranslateKey": "AnalyticDB_RP_WaitTime"
        }
      ]
    }
  ]
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 IdempotentParameterMismatch The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.