All Products
Search
Document Center

Cloud Monitor:DescribeMetricMetaList

Last Updated:Jun 11, 2026

Mengkueri metrik yang didukung di CloudMonitor.

Deskripsi operasi

Use this operation together with DescribeMetricList and DescribeMetricLast. For more information, see DescribeMetricList and DescribeMetricLast.

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

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Namespace

string

No

Namespace layanan cloud.

Untuk informasi selengkapnya tentang namespace layanan cloud, lihat Lampiran 1: Metrik.

acs_kvstore

Labels

string

No

Tag untuk memfilter metrik. Tentukan string JSON.

Format: [{"name":"kunci tag","value":"nilai tag"},{"name":"kunci tag","value":"nilai tag"}]. Tag berikut tersedia:

  • metricCategory: Kategori metrik.

  • alertEnable: Apakah akan melaporkan peringatan untuk metrik.

  • alertUnit: Unit metrik dalam peringatan.

  • unitFactor: Faktor konversi unit metrik.

  • minAlertPeriod: Interval minimum pelaporan peringatan.

  • productCategory: Kategori layanan.

[{"name":"productCategory","value":"kvstore_old"}]

MetricName

string

No

Nama metrik. Untuk informasi selengkapnya, lihat Lampiran 1: Metrik.

CPUUtilization

PageNumber

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai default: 30.

30

Elemen respons

Element

Type

Description

Example

object

Code

string

The response code.

Catatan

The status code 200 indicates that the request was successful.

200

Message

string

The returned message.

The Request is not authorization.

RequestId

string

The request ID.

CDE9EAFF-D54E-4024-BBFC-B0AAC883143B

TotalCount

string

The total number of entries returned.

10

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

Resources

object

Resource

array<object>

The configuration of the metrics in the resources.

object

MetricName

string

The metric name.

ads.diskSize

Description

string

The metric description.

The rated disk capacity

Labels

string

The tags of the metric, including one or more JSON strings.

Format: [{"name":"tag key","value":"tag value"}]. The name can be repeated. The following tags are available:

  • metricCategory: the category of the metric.

  • alertEnable: indicates whether to report alerts for the metric.

  • alertUnit: the unit of the metric in the alerts.

  • unitFactor: the factor for metric unit conversion.

  • minAlertPeriod: the minimum interval at which the alert is reported.

  • productCategory: the category of the service.

[{\"name\":\"minAlertPeriod\",\"value\":\"300\"},{\"name\":\"alertDefault\",\"value\":\"\"},{\"name\":\"unitFactor\",\"value\":\"1\"},{\"name\":\"alertUnit\",\"value\":\"Mbytes\"},{\"name\":\"productCategory\",\"value\":\"ads\"},{\"name\":\"is_alarm\",\"value\":\"true\"},{\"name\":\"metricCategory\",\"value\":\"workerId\"}]

Unit

string

The unit of the metric.

MB

Dimensions

string

The monitoring dimensions of the resource. Multiple monitoring dimensions are separated with commas (,).

userId,instanceId,tableSchema,workerId

Namespace

string

The namespace of the cloud service.

acs_ads

Periods

string

The statistical periods of the metric. Multiple statistical periods are separated with commas (,).

Unit: seconds.

300

Statistics

string

The statistical method. Multiple statistical methods are separated with commas (,).

Average,Minimum,Maximum

Contoh

Respons sukses

JSONformat

{
  "Code": "200",
  "Message": "The Request is not authorization.",
  "RequestId": "CDE9EAFF-D54E-4024-BBFC-B0AAC883143B",
  "TotalCount": "10",
  "Success": true,
  "Resources": {
    "Resource": [
      {
        "MetricName": "ads.diskSize",
        "Description": "The rated disk capacity",
        "Labels": "[{\\\"name\\\":\\\"minAlertPeriod\\\",\\\"value\\\":\\\"300\\\"},{\\\"name\\\":\\\"alertDefault\\\",\\\"value\\\":\\\"\\\"},{\\\"name\\\":\\\"unitFactor\\\",\\\"value\\\":\\\"1\\\"},{\\\"name\\\":\\\"alertUnit\\\",\\\"value\\\":\\\"Mbytes\\\"},{\\\"name\\\":\\\"productCategory\\\",\\\"value\\\":\\\"ads\\\"},{\\\"name\\\":\\\"is_alarm\\\",\\\"value\\\":\\\"true\\\"},{\\\"name\\\":\\\"metricCategory\\\",\\\"value\\\":\\\"workerId\\\"}]",
        "Unit": "MB",
        "Dimensions": "userId,instanceId,tableSchema,workerId",
        "Namespace": "acs_ads",
        "Periods": "300",
        "Statistics": "Average,Minimum,Maximum"
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 ParameterInvalid Parameter invalid.
500 InternalError The request processing has failed due to some unknown error.
403 AccessForbidden User not authorized to operate on the specified resource.
404 ResourceNotFound The specified resource is not found.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.