Views the performance data of an ApsaraDB for ClickHouse Community-Compatible Edition cluster.
Operation description
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.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
clickhouse:DescribeDBClusterPerformance | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
DBClusterId | string | Yes | The cluster ID. | cc-bp125e3uu94wo**** |
Key | string | No | The performance metrics that you want to query. Separate multiple metric names with a comma (,). You can query up to five performance metrics at a time. The following performance metrics are supported: Note Key is required.
| MEM_USAGE |
StartTime | string | Yes | The beginning of the time range to query. Specify the time in UTC using the | 2021-11-27T16:37Z |
EndTime | string | Yes | The end of the time range to query. Specify the time in UTC using the Note The end time must be later than the start time. The maximum time range cannot exceed 32 days. | 2021-11-27T16:38Z |
Response elements
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 |
Examples
Success response
JSON format
{
"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"
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.