Melihat data performa kluster ApsaraDB untuk ClickHouse Community-Compatible Edisi.
Deskripsi operasi
You can view the performance monitoring data for a specified cluster within a time range based on performance metrics. The data is collected every 30 seconds.
This operation supports only ApsaraDB for ClickHouse Community-Compatible Edition clusters that were created before December 1, 2021.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:DescribeDBClusterPerformance |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
cc-bp125e3uu94wo**** |
| Key |
string |
No |
Data deret waktu performa yang ingin Anda kueri. Pisahkan beberapa nama metrik dengan koma (,). Anda dapat mengkueri hingga lima data deret waktu performa sekaligus. Data deret waktu performa berikut didukung: Catatan
Key wajib diisi.
|
MEM_USAGE |
| StartTime |
string |
Yes |
Awal rentang pengatur waktu yang akan dikueri. Tentukan waktu dalam UTC dengan format |
2021-11-27T16:37Z |
| EndTime |
string |
Yes |
Akhir pengatur waktu yang akan dikueri. Tentukan waktu dalam UTC dengan format Catatan
Waktu akhir harus lebih lambat dari waktu mulai. Pengatur waktu tidak boleh melebihi 32 hari. |
2021-11-27T16:38Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
The end of the time range that was queried. The time is in UTC, formatted as |
2021-11-27T16:38Z |
| RequestId |
string |
The request ID. |
FE242962-6DA3-5FC8-9691-37B62A3210F7 |
| StartTime |
string |
The beginning of the time range that was queried. The time is in UTC, formatted as |
2021-11-27T16:37Z |
| DBClusterId |
string |
The cluster ID. |
cc-bp125e3uu94wo**** |
| Performances |
array<object> |
The list of performance metrics for the cluster. |
|
|
array<object> |
The performance metric. |
||
| Key |
string |
The name of the performance metric. |
MEM_USAGE |
| Unit |
string |
The unit of the metric. |
% |
| Series |
array<object> |
The time series data for the metric. |
|
|
array<object> |
The metric information. |
||
| Values |
array<object> |
The values of the performance metrics, each associated with a sampling timestamp. |
|
|
object |
The metric value. |
||
| Point |
array |
The value of the performance metric. |
|
|
string |
Detailed time-series data for the performance metric. |
[ "2021-11-26T16:39:00Z","15.08" ] |
|
| Name |
string |
The name of the time series. |
cc-bp125e3uu94wo1s0k16**** |
| Name |
string |
The name of the performance metric. |
mem_usage |
Contoh
Respons sukses
JSONformat
{
"EndTime": "2021-11-27T16:38Z",
"RequestId": "FE242962-6DA3-5FC8-9691-37B62A3210F7",
"StartTime": "2021-11-27T16:37Z",
"DBClusterId": "cc-bp125e3uu94wo****",
"Performances": [
{
"Key": "MEM_USAGE",
"Unit": "%",
"Series": [
{
"Values": [
{
"Point": [
"[ \"2021-11-26T16:39:00Z\",\"15.08\" ]"
]
}
],
"Name": "cc-bp125e3uu94wo1s0k16****"
}
],
"Name": "mem_usage"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.