Melihat status kesehatan instans dan node.
Deskripsi operasi
Antarmuka ini digunakan untuk melihat status kesehatan instans AnalyticDB PostgreSQL versi mode elastis penyimpanan dan Serverless, node koordinator (juga disebut node Master), dan node komputasi (juga disebut node Segment).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:DescribeHealthStatus |
get |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. Catatan
Anda dapat memanggil antarmuka DescribeDBInstances untuk melihat detail semua instans AnalyticDB PostgreSQL di region target, termasuk ID instans. |
gp-bp12ga6v69h86**** |
| Key |
string |
Yes |
Nama parameter performa. Beberapa metrik dipisahkan menggunakan koma half-width bahasa Inggris (,). Untuk informasi lebih lanjut, lihat Tabel parameter performa. |
node_master_status,node_master_connection_status,node_segment_connection_status,node_segment_disk_status |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Status |
object |
Informasi spesifik pemantauan performa, yang terdiri dari nama parameter, status, dan nilai metrik. Informasi pemantauan yang sesuai hanya akan dikembalikan jika parameter performa diteruskan dalam parameter permintaan Key. Misalnya, jika parameter permintaan Key hanya berisi adbpg_status, maka informasi yang dikembalikan hanya berisi informasi pemantauan adbpg_status. Untuk informasi parameter performa lebih lanjut, lihat Tabel parameter performa. |
{"node_master_connection_status":{"Status":"healthy","Value":1.6}} |
| adbpg_status |
object |
Status kesehatan instans. |
|
| Status |
string |
The health status of the instance. Valid values:
|
healthy |
| Value |
number |
The metric value of instance health status. Valid values:
|
1 |
| adbpg_connection_status |
object |
Status koneksi instans. |
|
| Status |
string |
The connection health status of the instance. Valid values:
Catatan
The instance connection usage is the maximum connection usage among all the coordinator and compute nodes. |
healthy |
| Value |
number |
The metric value of instance connection usage. Unit: %. |
1.71 |
| adbpg_disk_status |
object |
Status penyimpanan instans. Catatan
Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini. |
|
| Status |
string |
The storage status of the instance. Valid values:
Catatan
The instance storage usage is the average storage usage of all compute nodes. |
healthy |
| Value |
number |
The metric value of instance storage usage. Unit: %. |
1.52 |
| adbpg_disk_usage_percent |
object |
Tingkat penyimpanan instans. Catatan
Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini. |
|
| Status |
string |
The status corresponding to the storage usage of the instance. Valid values:
Catatan
The instance storage usage is the average storage usage of all compute nodes. |
healthy |
| Value |
number |
The metric value of instance storage usage. Unit: %. |
1.52 |
| adbpg_master_disk_usage_percent_max |
object |
Tingkat penyimpanan maksimum node koordinator instans, yaitu tingkat penyimpanan maksimum di antara semua node Master pada instans tersebut. Catatan
Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini. |
|
| Status |
string |
The status corresponding to the maximum storage usage of the coordinator node. Valid values:
|
healthy |
| Value |
number |
The metric value of maximum coordinator node storage usage. Unit: %. |
1.34 |
| adbgp_segment_disk_usage_percent_max |
object |
Tingkat penyimpanan maksimum node komputasi instans, yaitu tingkat penyimpanan maksimum di antara semua node Segment pada instans tersebut. Catatan
Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini. |
|
| Status |
string |
The status corresponding to the maximum storage usage among all compute nodes. Valid values:
|
healthy |
| Value |
number |
The metric value of maximum compute node storage usage. Unit: %. |
1.52 |
| node_master_status |
object |
Status kesehatan node koordinator, yaitu status kesehatan node Master. |
|
| Status |
string |
The health status of the coordinator node. Valid values:
|
healthy |
| Value |
number |
The metric value of coordinator node health status. Valid values:
|
1 |
| node_segment_disk_status |
object |
Status penyimpanan node komputasi, yaitu status penyimpanan node Segment. Catatan
Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini. |
|
| Status |
string |
The storage status of compute nodes. Valid values:
Catatan
The compute node storage usage is the maximum storage usage among all compute nodes. |
healthy |
| Value |
number |
The metric value of maximum compute node storage usage. Unit: %. |
1.52 |
| node_master_connection_status |
object |
Status kesehatan koneksi node koordinator, yaitu status kesehatan koneksi node Master. |
|
| Status |
string |
The connection health status of the coordinator node. Valid values:
Catatan
The coordinator node connection usage is the maximum connection usage of the coordinator node. |
healthy |
| Value |
number |
The metric value of coordinator node connection usage. Unit: %. |
1.71 |
| node_segment_connection_status |
object |
Status kesehatan koneksi node komputasi, yaitu status kesehatan koneksi node Segment. |
|
| Status |
string |
The connection health status of compute nodes. Valid values:
Catatan
The compute node connection usage is the maximum connection usage among all compute nodes. |
healthy |
| Value |
number |
The metric value of maximum compute node connection usage. Unit: %. |
0.48 |
| adbpg_master_status |
object |
Status node koordinator, yaitu status ketersediaan node Master. |
|
| Status |
string |
The availability status of the coordinator node. Valid values:
|
healthy |
| Value |
number |
The metric value of coordinator node availability status. Valid values: |
1 |
| adbpg_segment_status |
object |
Status node komputasi, yaitu status ketersediaan node Segment. |
|
| Status |
string |
The availability status of compute nodes. Valid values:
|
healthy |
| Value |
number |
The metric value of compute node availability status. |
1 |
| adbpg_instance_total_data_gb |
object |
Total volume data penyimpanan instans. |
|
| Value |
number |
The total amount of data storage of the instance. Unit: GB. |
4.1 |
| adbpg_instance_hot_data_gb |
object |
Total volume penyimpanan data panas (hot data). |
|
| Value |
number |
The total amount of hot data storage. Unit: GB. |
4.1 |
| adbpg_instance_cold_data_gb |
object |
Total volume penyimpanan data dingin (cold data). |
|
| Value |
number |
The total amount of cold data storage. Unit: GB. |
0 |
| RequestId |
string |
ID permintaan. |
D97B4191-104D-10CE-8BC5-53********** |
| DBClusterId |
string |
ID instans. |
gp-bp12ga6v69h86**** |
Contoh
Respons sukses
JSONformat
{
"Status": {
"adbpg_status": {
"Status": "healthy",
"Value": 1
},
"adbpg_connection_status": {
"Status": "healthy",
"Value": 1.71
},
"adbpg_disk_status": {
"Status": "healthy",
"Value": 1.52
},
"adbpg_disk_usage_percent": {
"Status": "healthy",
"Value": 1.52
},
"adbpg_master_disk_usage_percent_max": {
"Status": "healthy",
"Value": 1.34
},
"adbgp_segment_disk_usage_percent_max": {
"Status": "healthy",
"Value": 1.52
},
"node_master_status": {
"Status": "healthy",
"Value": 1
},
"node_segment_disk_status": {
"Status": "healthy",
"Value": 1.52
},
"node_master_connection_status": {
"Status": "healthy",
"Value": 1.71
},
"node_segment_connection_status": {
"Status": "healthy",
"Value": 0.48
},
"adbpg_master_status": {
"Status": "healthy",
"Value": 1
},
"adbpg_segment_status": {
"Status": "healthy",
"Value": 1
},
"adbpg_instance_total_data_gb": {
"Value": 4.1
},
"adbpg_instance_hot_data_gb": {
"Value": 4.1
},
"adbpg_instance_cold_data_gb": {
"Value": 0
}
},
"RequestId": "D97B4191-104D-10CE-8BC5-53**********",
"DBClusterId": "gp-bp12ga6v69h86****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.